RE: [WG14] Request for document number; strtol restrictness

2024-07-09 Thread Daniel Plakosh
-4606 -Original Message- From: Alejandro Colomar Sent: Tuesday, July 09, 2024 3:00 PM To: Daniel Plakosh Cc: dplak...@cert.org; Martin Uecker ; Jonathan Wakely ; Xi Ruoyao ; Jakub Jelinek ; libc-al...@sourceware.org; gcc@gcc.gnu.org; Paul Eggert ; linux-...@vger.kernel.org; LIU Hao

RE: [WG14] Request for document number; strtol restrictness

2024-07-07 Thread Daniel Plakosh
Alex, Your document number is below: n3294 - strtol(3) et al. shouldn't have a restricted first parameter Please return the updated document with this number Best regards, Dan Technical Director - Enabling Mission Capability at Scale Principal Member of the Technical Staff Software Engineerin

[Regarding GCOV].gcda:stamp mismatch with notes file

2024-04-24 Thread Gejoe Daniel via Gcc
Hi team, The following is my query posted but would need more inputs : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114751 The gcov tool which was working so far seems to fail with our latest branch where gcc is 11.4.0 and hence we wanted to sort this out by getting the right help as early as po

XML y PDF. VUBDSX

2024-03-05 Thread Daniel via Gcc
XML y PDF de su factura. Gracias. ARCHIVO2003940059400694006902.pdf Description: Binary data

Re: [RFC] Function Multi Versioning on Arm

2022-07-22 Thread Daniel Kiss via Gcc
On 2022. Jul 22., at 10:12, Martin Liška mailto:mli...@suse.cz>> wrote: On 7/21/22 19:49, Daniel Kiss wrote: Hello, Thanks for the quick reply, see mine inline. On 2022. Jul 19., at 12:01, Martin Liška mailto:mli...@suse.cz>> wrote: On 7/18/22 12:36, Daniel Kiss via Gcc wrote

Re: [RFC] Function Multi Versioning on Arm

2022-07-21 Thread Daniel Kiss via Gcc
Hello, Thanks for the quick reply, see mine inline. > On 2022. Jul 19., at 12:01, Martin Liška wrote: > > On 7/18/22 12:36, Daniel Kiss via Gcc wrote: >> Hello, >> >> We are going to add Function Multiversioning [1] support to Arm >> architectures. >> T

[RFC] Function Multi Versioning on Arm

2022-07-18 Thread Daniel Kiss via Gcc
n the specification (reply, github works too). Thanks so much, Daniel [1] https://gcc.gnu.org/onlinedocs/gcc/Function-Multiversioning.html [2] https://github.com/ARM-software/acle/blob/main/main/acle.md#function-multi-versioning

Re: Update to GCC copyright assignment policy

2021-06-03 Thread Daniel Pono Takamori
I'm joining this list just briefly to give some feedback and input on this thread on behalf of Software Freedom Conservancy, since we were mentioned multiple times in this thread. I suspect any conversation about how Conservancy and GCC might work together should be off-list or another list, and I

Re: Regarding __gcov_dump and __gcov_reset usage

2021-05-25 Thread Gejoe Daniel via Gcc
Hi Martin, The bug is created : https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100751  Let me know if any more info is required. Thanks, Gejoe From: Martin Li ka <mli...@suse.cz> Sent: Mon, 24 May 2021 19:32:10 To: Gejoe Daniel <gej...@rediffmail.com>, gcc@gcc.gnu.org, gcc-h...

Fw: Regarding __gcov_dump and __gcov_reset usage

2021-05-24 Thread Gejoe Daniel via Gcc
Adding gcc mailing list for the clarification. Thank you team !  From: "Gejoe Daniel"<gej...@rediffmail.com> Sent: Mon, 24 May 2021 15:02:12 To: "gcc-h...@gcc.gnu.org"<gcc-h...@gcc.gnu.org> Subject: Re: Regarding __gcov_dump and __gcov_reset usage Hi team, A

Re: GCC association with the FSF

2021-04-12 Thread Daniel (Robin) Smith via Gcc
"but muh freedum license re" "haha quality compiler suite go brrr" On Mon, Apr 12, 2021, 8:25 PM Chris Punches via Gcc wrote: > That will never make it appropriate. > > I would encourage you to reflect more carefully on the meaning of the > words you are reading and using. > > These argumen

Question: after gcc intallation

2019-02-13 Thread Chang-Hsin Daniel Chen
Hi GCC, This is Daniel. I use fedora 29 and have install gcc-8.2.0 into the system. However, I still cannot see GCC on the list what I do "module av". I have added the path of the gcc directory into .bashrc. However, nothing changes. "export PATH=$PATH:/..." "exp

Re: Improve syntax error

2019-01-08 Thread Daniel Marjamäki
Ping Den lör 5 jan. 2019 kl 20:44 skrev Daniel Marjamäki : > > Here is a new patch with fixed comments and indentation > > diff --git a/gcc/c/c-parser.c b/gcc/c/c-parser.c > index 972b629c092..294ff34fe55 100644 > --- a/gcc/c/c-parser.c > +++ b/gcc/c/c-parser.c > @@

Re: Improve syntax error

2019-01-05 Thread Daniel Marjamäki
@@ + +/* { dg-do compile } */ + +void f1() { + int a = 0)+3; /* { dg-error "unmatched" } */ +} + +void f2() { + int b = (1]+3; /* { dg-error "expected" } */ +} + +void f3() { + int b = 1]+3; /* { dg-error "unmatched" } */ +} + +void f4() { + int c = (1))+3; /* {

Re: Improve syntax error

2019-01-05 Thread Daniel Marjamäki
No none of those suggestions will solve the error. Look at this code: int x = 3) + 0; Writing a ) or , or ; will not fix the syntax error. You have to remove the ) or add a ( somewhere. Den lör 5 jan. 2019 kl 09:50 skrev Segher Boessenkool : > > Hi Daniel, > > Some mostly

Improve syntax error

2019-01-04 Thread Daniel Marjamäki
+++ b/gcc/testsuite/gcc.dg/unmatched.c @@ -0,0 +1,19 @@ + +/* { dg-do compile } */ + +void f1() { + int a = 0)+3; /* { dg-error "unmatched" } */ +} + +void f2() { + int b = (1]+3; /* { dg-error "expected" } */ +} + +void f3() { + int b = 1]+3; /* { dg-error "unmatched" } */ +} + +void f4() { + int c = (1))+3; /* { dg-error "unmatched" } */ +} + Best regards, Daniel Marjamäki

Re: syntax errors

2019-01-03 Thread Daniel Marjamäki
ake sense to emit a fix-it hint suggesting the removal of the > stray token. It is 50% chance that the closing paranthesis should be removed. Maybe there is a missing "(". Maybe the error message should indicate that.. something like "either there is missing "(" or this ")" is a stray token". Best regards, Daniel Marjamäki

improve syntax errors

2019-01-03 Thread Daniel Marjamäki
when there is a unmatched extra ) or } or ] then it should just say "extraneous .." instead of "expected ',' or ';'. Adding a ',' or ';' in the example code will not fix the syntax error. Best regards, Daniel Marjamäki

Re : North American Farm & Power Show - Attendees Info

2018-12-04 Thread Daniel Jones
x27;d love to provide more information on this. Thank you. Regards, Daniel Jones Demand Generation Executive. If you do not wish to receive future emails from us, please reply as "opt-out"

Re: Cortex M0 Floating Point Library

2018-11-09 Thread Daniel Engel
ion cycles, but not require as many extra bytes. Regards, Daniel On Thu, Nov 8, 2018, at 11:19 PM, Richard Henderson wrote: > On 11/7/18 6:10 PM, Daniel Engel wrote: > > Also, loss of control of linking order would require all short branches in > > the libm section to

Re: Cortex M0 Floating Point Library

2018-11-07 Thread Daniel Engel
On Tue, Nov 6, 2018, at 9:28 PM, Joel Sherrill wrote: > > On Tue, Nov 6, 2018, 10:32 PM Daniel Engel > Hi, >> >> Over the past couple of years, I have hand-assembled a new floating point >> library for the ARM Cortex M0 architecture.  I know the M0 is not general

Cortex M0 Floating Point Library

2018-11-06 Thread Daniel Engel
dependent library specific to the Cortex M0 architecture, or * Something else entirely... If there is any interest in incorporating this work into GCC, please advise. Thanks, Daniel Engel

Re: Detecting superfluous "else"

2018-07-21 Thread Daniel Letai
On 19/07/2018 18:56, Eric Gallager wrote: On 7/19/18, U.Mutlu wrote: Hi, it makes me 'crazy' when I see such if-else constructs: if (x) return 7; else return 4; (Of course in this case one better would use the shorthand "return x ? 7 : 4;", but that's not the issue here)

Re: GCC 8.1 Released

2018-05-02 Thread Daniel Santos
ll get together in the next few weeks.  I'll email the Wine list later today. Daniel

Re: gdb 8.x - g++ 7.x compatibility

2018-03-03 Thread Daniel Berlin
Again, please don't do this. As you can see (see Tom Tromey's email), others have a use to go between vtable types and the types they are attached to. We should be getting away from linkage names, not going further towards them. There are a bunch of gdb bugs this won't solve, but adding an extensio

Re: gdb 8.x - g++ 7.x compatibility

2018-02-07 Thread Daniel Berlin
> > > This avoids the problem of the demangler gdb is using getting a different > name than the producer used. It also should always give you the right one. > If the producer calls the type "vtable fo Foo<2u>" here and "Foo<2>" > elsewhere, yes, that's a bug. It should be consistent. > > This shoul

Re: gdb 8.x - g++ 7.x compatibility

2018-02-07 Thread Daniel Berlin
On Wed, Feb 7, 2018 at 5:44 AM, Simon Marchi wrote: > On 2018-02-07 02:21, Daniel Berlin wrote: > >> As the person who, eons ago, wrote a bunch of the the GDB code for this >> C++ >> ABI support, and as someone who helped with DWARF support in both GDB and >> GCC,

Re: gdb 8.x - g++ 7.x compatibility

2018-02-06 Thread Daniel Berlin
As the person who, eons ago, wrote a bunch of the the GDB code for this C++ ABI support, and as someone who helped with DWARF support in both GDB and GCC, let me try to propose a useful path forward (in the hopes that someone will say "that's horrible, do it this instead") Here are the constraint

Forms to contribute to GCC

2018-01-22 Thread Daniel Celis Garza
Hello, I'll be contributing to GCC by working on OpenCoarrays as my PhD programme's broadening project. I'd like to request the necessary forms to do so. As far as I'm aware, those are the copyright assignment form of all future changes and the employer disclaimer form. Best wishes, Daniel

New mirror site

2017-09-02 Thread Daniel Volchixin
URL: http://mirror.linux-ia64.org/gnu/gcc/ Country/City: Russia / Novosibirsk Contact email / name: dan...@volchixin.co.uk (Daniel Volchixin)

Optimizing away deletion of null pointers with g++

2017-08-16 Thread Daniel Langr
iant. Both Clang and Intel compilers did this in my tests.) Cheers, Daniel

Re: Should --enable-checking=yes,rtl work on 32-bit hosts?

2017-08-15 Thread Daniel Santos
w is a backtrace just prior to the error. I'm not at all intimate with gcc's memory management, if gcc keeps track of how much each component has allocated. (gdb) bt #0 __GI___libc_malloc (bytes=56137200) at malloc.c:2905 #1 0x025bc8dc in xmalloc (size=56137200) at /home/daniel

Re: [i386, x32] Trouble bootstrapping x86_64-pc-linux-gnux32

2017-08-14 Thread Daniel Santos
successful x32 bootstrap using --enable-checking=yes without rtl -- good enough for all of the tests that I need to run. Daniel

Re: [i386, x32] Trouble bootstrapping x86_64-pc-linux-gnux32

2017-08-14 Thread Daniel Santos
On 08/13/2017 07:05 PM, H.J. Lu wrote: > On Sun, Aug 13, 2017 at 3:52 PM, Daniel Santos > wrote: >> I've setup an x32 test environment using Gentoo in hopes of being able >> to both compile and run x32 tests, but I'm having problems getting a >> successful boots

Re: [i386, x32] Trouble bootstrapping x86_64-pc-linux-gnux32

2017-08-14 Thread Daniel Santos
On 08/13/2017 05:52 PM, Daniel Santos wrote: > cc1plus: out of memory allocating 56137200 bytes after a total of > 314880 bytes > make[3]: *** [Makefile:1104: insn-extract.o] Error 1 > make[3]: *** Waiting for unfinished jobs I apparently misunderstood the "after a total

[i386, x32] Trouble bootstrapping x86_64-pc-linux-gnux32

2017-08-13 Thread Daniel Santos
;m doing wrong, and if it is broken that we are aware of it. I'm able to get a 7.1 bootstrap using: /home/daniel/proj/sys/gcc/7.x/configure --prefix=/home/daniel/local/gcc-7.1.0 --build=x86_64-pc-linux-gnux32 --with-abi=mx32 --enable-checking=yes,rtl --enable-languages=all --enable-boot

Re: RFC [testsuite] Obey --load-average

2017-08-06 Thread Daniel Santos
On 08/03/2017 05:07 PM, Mike Stump wrote: > On Aug 2, 2017, at 10:34 PM, Daniel Santos wrote: >> I'm working on a patch to modify the testsuite to obey the >> --load-average value if one is passed to make. > The code seems like a reasonable approach. Love to see numbers a

Re: RFC [testsuite] Obey --load-average

2017-08-06 Thread Daniel Santos
On 08/03/2017 11:45 AM, Jeff Law wrote: > On 08/02/2017 11:34 PM, Daniel Santos wrote: > So does this perform better than make -j X -l X? I use that with good > success. > > jeff Sorry for my slow response! For a short answer, if you have 8 CPU cores and you run make -j8

RFC [testsuite] Obey --load-average

2017-08-02 Thread Daniel Santos
* gcc/testsuite/lib/gcc-defs.exp (num_jobs, load_max, getloadavg_exe): New global variables. (check_cpu_load): New proc to check speed limit. (gcc_parallel_test_run_p): Modify to call check_cpu_load before acquiring a new lock file. Thanks, Daniel di

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-12 Thread Daniel Santos
On 05/12/2017 10:49 AM, Martin Sebor wrote: On 05/10/2017 04:14 PM, Daniel Santos wrote: Well my primary goal is programming with values that are constant in the compiler. There is no language in any C specification (that I'm aware of) for a "compile-time constant", but the

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-12 Thread Daniel Santos
Sorry for my delayed response. On 05/11/2017 09:35 AM, Joseph Myers wrote: On Thu, 11 May 2017, Jonathan Wakely wrote: On 10 May 2017 at 23:14, Daniel Santos wrote: Well my primary goal is programming with values that are constant in the compiler. There is no language in any C specification

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
t turns out that their optimization hint don't look like such a good idea. :) I appreciate everybody's feedback! Thoughts? Also, still a bit new to GCC, am I missing any formal steps that should be taken prior to pursuing such changes? Thanks, Daniel

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
Thanks for your feedback! On 05/09/2017 08:29 AM, Allan Sandfeld Jensen wrote: On Tuesday 09 May 2017, Daniel Santos wrote: The primary aim is to facilitate high-performance generic C libraries for software where C++ is not suitable, but the cost of run-time abstraction is unacceptable. A good

Re: [RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-10 Thread Daniel Santos
Thanks for your feedback! On 05/09/2017 04:36 AM, Florian Weimer wrote: On 05/09/2017 01:36 AM, Daniel Santos wrote: To further the usefulness of such techniques, I propose the addition of a c-family attribute to declare a parameter, variable (and possibly other declarations) as "cons

[RFC] GCC 8 Project proposal: Extensions supporting C Metaprogramming, pseudo-templates

2017-05-08 Thread Daniel Santos
pression %q+D is not constant in this context", var); + /* TODO: Set something so we don't repeat this warning. */ + } + } + /* ??? ivopts calls expander, without any preparation from out-of-ssa. So fake instructions as if this was an access to the base variable. This unnecessarily allocates a pseudo, see how we can Comments, objections, suggestions? Thanks, Daniel

Re: .bad_compare in bootstrap of head

2017-05-05 Thread Daniel Santos
investigating why. You mean debugging and non-debugging build? Richard. I got the problem when I built with --enable-checking=yes,rtl. I haven't tested any other combinations. My first guess would be a gcc_checking_assert () with side-effects? Daniel

Re: Help with getting started with adding IPA-related attribute

2017-05-05 Thread Daniel Santos
Thanks for the help, Martin! On 05/03/2017 03:42 AM, Martin Jambor wrote: Hi, On Sat, Apr 29, 2017 at 06:28:31AM -0500, Daniel Santos wrote: Brievity is not my forte, so let me start with the questions. Can somebody please point me to the pass and/or function where gcc 1.) decides rather or

.bad_compare in bootstrap of head

2017-05-03 Thread Daniel Santos
8d05cc6f387aec6099ea0589f45a22edeb1475fd Author: jason Date: Wed May 3 18:50:25 2017 + * doc/invoke.texi: Note that -faligned-new is on by default for C++17. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247564 138bc75d-0d04-0410-961f-82ee72b054a4 Daniel

Re: Help with getting started with adding IPA-related attribute

2017-05-01 Thread Daniel Santos
would appear that it is already performing some of the constant propagation that I wanted it to do (without the new attribute), and yet many constancy tests fail unless the function is "always_inline"ed from the caller "flatten". I'll have to dig more to figure out why. Daniel

Help with getting started with adding IPA-related attribute

2017-04-29 Thread Daniel Santos
e_decl_common { /* DECL_ALIGN. It should have the same size as TYPE_ALIGN. */ unsigned int align : 6; - /* 20 bits unused. */ + unsigned int constprop : 1; + + /* 19 bits unused. */ /* UID for points-to sets, stable over copying from inlining. */ unsigned int pt_uid; Thanks! Daniel

make -kj check running repeat tests

2017-04-20 Thread Daniel Santos
STSUITEDIR)/$(check_p_tool)-parallel in Makefile.in is supposed to be for? Thanks, Daniel diff --git a/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/ms-sysv.exp b/gcc/testsuite/gcc.target/x86_64/abi/ms-sysv/ms-sysv.exp new file mode 100644 index 000..8c3a3d2fc1c --- /dev/null +++ b/gcc/tes

Renaming moutline-msabi-xlogues to mcall-ms2sysv-xlogues

2017-04-09 Thread Daniel Santos
has a vary narrow scope, so I'm thinking "mcall-ms2sysv-xlogues" is a good and brief descriptor. Any comments, objections? Thanks, Daniel

Re: Testsuite breakages on Cygwin

2017-03-13 Thread Daniel Santos
On 03/10/2017 11:23 AM, Joseph Myers wrote: On Fri, 10 Mar 2017, Daniel Santos wrote: 3. Wouldn't it be better to move this logic up into DejaGnu and restrict gcc to using a black-box interface for modifying the environment? GCC is meant to work with a wide range of different DejaGnu ver

Re: Design question LWG 2861: basic_string should require that charT match traits::char_type

2017-03-13 Thread Daniel Krügler
2017-03-13 11:56 GMT+01:00 Jonathan Wakely : > On 12 March 2017 at 13:21, Daniel Krügler wrote: >> I'm now working on >> >> http://cplusplus.github.io/LWG/lwg-defects.html#2861 >> >> The new wording state is now equivalent to basic_string_view, whose &g

Design question LWG 2861: basic_string should require that charT match traits::char_type

2017-03-12 Thread Daniel Krügler
c_assert(is_same::value, "traits_type::char_type must be equal to _CharT"); Would you agree with that course of action? Thanks, - Daniel

Re: Cygwin + zlib

2017-03-10 Thread Daniel Santos
y bug report, but here it is anyway: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79771 Daniel

Testsuite breakages on Cygwin

2017-03-09 Thread Daniel Santos
, having the logic scattered about makes maintenance ugly. Daniel

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
use some others that might not be superset of those. Jakub We tried using e500, but on Freescale t1042 there was another instruction, evstdd instruction which caused a fault. Andrii did the testing, he can address it better than I can. Daniel

Re: powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
On 02/09/2017 10:08 AM, David Edelsohn wrote: On Thu, Feb 9, 2017 at 1:00 PM, Daniel Walker wrote: Hi, It looks like -mcpu=common (on the powerpc architecture) was removed. My group is struggling to find a way to compile generic binaries for PowerPC. We have been getting an LWSYNC

powerpc -mcpu=common equivalent ?

2017-02-09 Thread Daniel Walker
the platforms. I suppose this is either a bug report that we're getting lwsync when we shouldn't be getting it, or just a question of what the typical tune is to make generic binaries ? Thanks for any help, Daniel

[PATCH 8/8] [i386] Add remainder of moutline-msabi-xlogues implementation

2017-02-05 Thread Daniel Santos
ff-by: Daniel Santos --- gcc/config/i386/i386.c | 281 +++-- 1 file changed, 272 insertions(+), 9 deletions(-) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b3d48ac2e78..f9a02bedbee 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config

[PATCH 4/8] [i386] Modify ix86_save_reg to optionally omit stub-managed registers

2017-02-05 Thread Daniel Santos
Adds HARD_REG_SET stub_managed_regs to track registers that will be managed by the pro/epilogue stubs for the function. Adds a third parameter bool ignore_outlined to ix86_save_reg to specify rather or not the count should include registers marked in stub_managed_regs. Signed-off-by: Daniel

[PATCH 2/8] [i386] Add option -moutline-msabi-xlogues

2017-02-05 Thread Daniel Santos
Adds the option to i386.opt and i386.c and adds documentation to invoke.texi. Signed-off-by: Daniel Santos --- gcc/config/i386/i386.c | 3 ++- gcc/config/i386/i386.opt | 5 + gcc/doc/invoke.texi | 11 ++- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/gcc

[PATCH 5/8] [i386] Modify ix86_compute_frame_layout for foutline-msabi-xlogues

2017-02-05 Thread Daniel Santos
ix86_compute_frame_layout will now populate fields added to structs machine_function and ix86_frame, which are used by xlogue_layout::get_instance to determine the correct instance to return. Signed-off-by: Daniel Santos --- gcc/config/i386/i386.c | 105

[PATCH 7/8] [i386] Add msabi pro/epilogue stubs to libgcc

2017-02-05 Thread Daniel Santos
msabi --> sysv scenario) [f] Variant for hard frame pointer (and stack realignment) [x] Tail-call variant (is the return from function) Signed-off-by: Daniel Santos --- libgcc/config.host | 2 +- libgcc/config/i386/i386-asm.h |

[PATCH 1/8] [i386] Minor refactoring

2017-02-05 Thread Daniel Santos
For the sake of clarity, I've separated out these minor refactoring changes from the rest of the patches. Signed-off-by: Daniel Santos --- gcc/config/i386/i386.c | 21 ++--- gcc/config/i386/i386.h | 4 +++- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git

[PATCH 3/8] [i386] Adds class xlouge_layout and new fields to struct machine_function

2017-02-05 Thread Daniel Santos
yout cannot be used until stack realign flags are finalized and ix86_compute_frame_layout is called, at which point xlouge_layout::get_instance may be used to retrieve the appropriate (constant) instance of xlouge_layout. Signed-off-by: Daniel Santos --- gcc/config/i386/i386.c |

[PATCH 6/8] [i386] Add patterns and predicates foutline-msabi-xlouges

2017-02-05 Thread Daniel Santos
typically offer better optimization than the restore stub as the tail call) * restore_multiple_and_return - a jump_insn that returns from the function as a tail-call. * restore_multiple_leave_return - like the above, but restores the frame pointer before returning. Signed-off-by: Daniel Santos

[RFC PATCH v3 0/8][i386] Use out-of-line stubs for ms_abi pro/epilogues

2017-02-05 Thread Daniel Santos
/i386/resms64x.S | 59 libgcc/config/i386/savms64.S | 57 libgcc/config/i386/savms64f.S | 55 libgcc/config/i386/t-msabi | 7 + 15 files changed, 1314 insertions(+), 38 deletions(-) Daniel Santos

[RFC] [i386] Test program for ms_abi to sysv_abi function calls

2017-02-03 Thread Daniel Santos
arget/i386/msabi/gen.cc| 788 ++ gcc/testsuite/gcc.target/i386/msabi/msabi.c | 379 +++++ gcc/testsuite/gcc.target/i386/msabi/msabi.exp | 125 5 files changed, 1456 insertions(+) Daniel Santos >From 2e9fa543e1923c7acc705e06bba006fc5887d805 Mon Sep 17 00:00:00 2001

Memory buffer handling - additional optimization proposal

2017-01-21 Thread daniel
me is below. Regards, Daniel #include #include #define CNT 4 #define ATTR_INLINE __attribute__((hot, always_inline)) static inline //#define ATTR_INLINE ATTR_INLINE int func_1(int* data) { int buff[CNT * CNT]; for (int i = 0; i < CNT; ++i) { for (int j = 0; j < CN

Re: Help with integrating my test program into dejagnu

2017-01-13 Thread Daniel Santos
ou can find someone that can test in a cross environment and report back if it works or not, that might be a way to step it forward, if you want. Good, then I'm happy to punt this part until later. :) I just googled Canadian cross build and that's entirely new to me! Thank you for your thoughtful reply. Daniel

Re: Help with integrating my test program into dejagnu

2017-01-11 Thread Daniel Santos
ported "$subdir" return } Thanks, Daniel

Re: Help with integrating my test program into dejagnu

2017-01-10 Thread Daniel Santos
as an RFC and hopefully get some feedback from the i386 maintainers. Thanks again Daniel diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 2aae684cad0..15e51b4cdc5 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -3789,7 +3789,9 @@ site.exp: ./config.status Makefile @echo "set CFLAG

Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Daniel Santos
rameter to the generator. I made a bitmask for each test variation, so just passing -m 0x7b would prevent generation of forced re-alignment tests. Daniel

Re: Help with integrating my test program into dejagnu

2016-12-31 Thread Daniel Santos
First of all, thank you for your thoughtful response! On 12/30/2016 06:01 PM, Mike Stump wrote: On Dec 30, 2016, at 11:58 AM, Daniel Santos wrote: Still being pretty new to GCC and having never used dejagnu, expect or Tcl, I'm trying to determine how to best integrate my test program

Help with integrating my test program into dejagnu

2016-12-30 Thread Daniel Santos
c's Makefile.in. Integrating with dejagnu seems to be the most intuitive and simple, but I don't properly understand how this would affect a cross-compiler build. Any advice? Thanks! Daniel >From d38bc80fc793224fb0fbd586824786f5ec178f65 Mon Sep 17 00:00:00 2001 From: Daniel Santos Date: Sat

[SOLVED-ish] Question about sibling call epilogues & registers

2016-10-17 Thread Daniel Santos
I 4 si) (mem/c:DI (plus:DI (reg:DI 4 si) (const_int 64 [0x40])) [0 S8 A8])) ]) /home/daniel/proj/emu/wine/github/dlls/winex11.drv/window.c:1655 -1 (expr_list:REG_UNUSED (reg:CC 17 flags) (expr_list:REG_CFA_RESTORE (reg:DI 4 si

Re: Question about sibling call epilogues & registers

2016-10-17 Thread Daniel Santos
msabi_restore_16) FUNC_END(__msabi_restore_17) FUNC_END(__msabi_restore_18) #endif /* __x86_64__ */ Thanks! Daniel

Re: Question about sibling call epilogues & registers

2016-10-16 Thread Daniel Santos
#x27;s default register clobber value which is almost everything: regs_invalidated_by_call is a macro defined in hard-reg-set.h and expands to (this_target_hard_regs->x_regs_invalidated_by_call). So it would seem that I need some type of function declaration. Daniel

Re: Question about sibling call epilogues & registers

2016-10-16 Thread Daniel Santos
Hehe, well no, it's the sibcall to LeaveCriticalSection that needs RCX. My stub isn't reading or touching it. Daniel

Re: Question about sibling call epilogues & registers

2016-10-16 Thread Daniel Santos
On 10/15/2016 08:41 PM, Segher Boessenkool wrote: Hi Daniel, On Sat, Oct 15, 2016 at 01:45:12AM -0500, Daniel Santos wrote: The insn that's getting deleted is 75, where RCX is set. I'm starting to think that maybe df_analyze() presumes that my call (to the stub) is invalidating RCX

Question about sibling call epilogues & registers

2016-10-14 Thread Daniel Santos
(symbol_ref:DI ("win_data_section") [flags 0x2] 0x7f33746fce10 win_data_section>)) /home/daniel/proj/emu/wine/github/dlls/winex11.drv/window.c:1826 89 {*movdi_internal} (expr_list:REG_UNUSED (reg:DI 2 cx) (nil))) (note 150 75 146 11 NOTE_INSN_EPILOGUE_BEG) (in

Re: How do you emit RTL for a jump to a mem/symbol instead of an asm label?

2016-08-24 Thread Daniel Santos
On 08/21/2016 05:59 PM, Segher Boessenkool wrote: On Sun, Aug 21, 2016 at 02:04:49PM -0500, Daniel Santos wrote: Thanks for the response! Perhaps an UNSPEC insn is needed here because I have work to do on other passes too. For example, when the debug info is created, it's giving the

Re: How do you emit RTL for a jump to a mem/symbol instead of an asm label?

2016-08-22 Thread Daniel Santos
On 08/21/2016 05:59 PM, Segher Boessenkool wrote: On Sun, Aug 21, 2016 at 02:04:49PM -0500, Daniel Santos wrote: Thanks for the response! Perhaps an UNSPEC insn is needed here because I have work to do on other passes too. For example, when the debug info is created, it's giving the

Re: How do you emit RTL for a jump to a mem/symbol instead of an asm label?

2016-08-21 Thread Daniel Santos
On 08/20/2016 09:53 AM, Jeff Law wrote: On 08/20/2016 06:01 AM, Daniel Santos wrote: I have been unable to figure out how to (correctly) generate RTL (in expand the pro/epilogue pass) to jump to a stub defined in libgcc for the out-of-lined epilogue. If I write it as a function call, but then

How do you emit RTL for a jump to a mem/symbol instead of an asm label?

2016-08-20 Thread Daniel Santos
hinks it's a sibling call epilogue and it screws up other things (just read up on the sibling call optimization earlier). Basically, it should replace the function's ret with a jmp to the outlined epilogue that will do the ret. Any pointers greatly appreciated! Daniel

Re: Help with implementing Wine optimization experiment

2016-08-17 Thread Daniel Santos
gue routine is working great though! Thanks, Daniel

Re: Help with implementing Wine optimization experiment

2016-08-17 Thread Daniel Santos
On 08/15/2016 05:46 AM, Florian Weimer wrote: On 08/14/2016 08:23 AM, Daniel Santos wrote: ms_abi_push_regs: pop%rax push %rdi push %rsi sub$0xa8,%rsp movaps %xmm6,(%rsp) movaps %xmm7,0x10(%rsp) movaps %xmm8,0x20(%rsp) movaps %xmm9,0x30(%rsp

Re: Help with implementing Wine optimization experiment

2016-08-15 Thread Daniel Santos
On 08/15/2016 05:56 AM, Richard Biener wrote: On Mon, Aug 15, 2016 at 2:16 AM, Jeff Law wrote: On 08/14/2016 01:57 AM, Trevor Saunders wrote: On Sun, Aug 14, 2016 at 01:23:16AM -0500, Daniel Santos wrote: I'm experimenting with ways to optimize wine (x86 target only) and I believe

Re: Help with implementing Wine optimization experiment

2016-08-15 Thread Daniel Santos
r. Presuming that this experiment turns out to be useful, it might be implemented as a function attribute so that functions that need to appear a certain way to copy protection software can omit the optimization, similar to ms_hook_prologue. Daniel

Re: Help with implementing Wine optimization experiment

2016-08-14 Thread Daniel Santos
ew state of the stack and then allow any other clobbered regs to get pushed/moved after that. Daniel

Help with implementing Wine optimization experiment

2016-08-13 Thread Daniel Santos
or %eax, %eax jmp ms_abi_pop_regs Thanks! Daniel

Re: Remove deprecated std::has_trivial_xxx traits

2016-07-27 Thread Daniel Krügler
es.html > > People who need that functionality can still use the built-ins > directly, we don't need to define non-standard traits. > > Alternatively, we could move them to __gnu_cxx, so they don't pollute > the namespace by default, or only define them when __STRICT_ANSI__ is > not defined. I prefer simply removing them. +1 for removing them. - Daniel

Mailing-List

2016-06-02 Thread H Daniel

Re: Question regarding bug 70584

2016-05-20 Thread Daniel Gutson
On Fri, May 20, 2016 at 5:42 PM, Jeff Law wrote: > On 05/20/2016 01:18 PM, Daniel Gutson wrote: >> >> (reposting in gcc@ and adding more information) >> >> On Fri, May 20, 2016 at 3:43 PM, Andres Tiraboschi >> wrote: >>> >>> While analysing this

Re: Question regarding bug 70584

2016-05-20 Thread Daniel Gutson
information: DECL_LANG_SPECIFIC is NULL and DECL_IN_AGGR_P is false. Can somebody provide the rationale of the condition? Thanks, Daniel. > > Thank, > > Andres. -- Daniel F. Gutson Engineering Manager San Lorenzo 47, 3rd Floor, Office 5 Córdoba, Argentina Pho

stray quotation marks warning enhancement or extension

2016-03-31 Thread Daniel Gutson
ime coding a solution that won't be accepted. Thanks, Daniel. -- Daniel F. Gutson Chief Engineering Officer, SPD San Lorenzo 47, 3rd Floor, Office 5 Córdoba, Argentina Phone: +54 351 4217888 / +54 351 4218211 Skype:dgutson LinkedIn: http://ar.linkedin.com/in/danielgutson

Re: avoiding recursive calls of calloc due to optimization

2015-09-21 Thread Daniel Gutson
On Mon, Sep 21, 2015 at 2:26 PM, Andrew Pinski wrote: > On Mon, Sep 21, 2015 at 10:20 AM, Daniel Gutson > wrote: >> This is derived from https://gcc.gnu.org/ml/gcc-help/2015-03/msg00091.html >> >> Currently, gcc provides an optimization that transforms a call to >&g

Re: avoiding recursive calls of calloc due to optimization

2015-09-21 Thread Daniel Gutson
On Mon, Sep 21, 2015 at 3:33 PM, Daniel Gutson wrote: > On Mon, Sep 21, 2015 at 2:26 PM, Andrew Pinski wrote: >> On Mon, Sep 21, 2015 at 10:20 AM, Daniel Gutson >> wrote: >>> This is derived from https://gcc.gnu.org/ml/gcc-help/2015-03/msg00091.html >>&g

  1   2   3   4   5   6   7   8   9   10   >