RE: Using C++ in GCC is OK

2010-06-01 Thread Hargett, Matt
> > My suggestions: > > > > * When it is appropriate to use a child class with virtual > functions, > >the virtual functions should all be declared as protected in the > >parent class. > > > > At first reading, I thought you meant "all virtual functions should > be > > protected", but I th

RE: Using C++ in GCC is OK

2010-06-01 Thread Hargett, Matt
A suggestion about: "Method bodies may only appear in the class definition if they are very short, no more than five lines. Otherwise the method body should be defined outside of the class definition." To avoid dependency explosions that increase compile times and allow for link-time substitut

RE: Using C++ in GCC is OK

2010-06-02 Thread Hargett, Matt
> >> I'm not sure i agree with this, because I don't see anything wrong > >> with multi-line C++-style comments. > > > > I'm with Ian on this one. Is there a reason for this, other than > one's > > personal tool preference for editing code may make C-style multi-line > > comments easier to add/remo

RE: Using C++ in GCC is OK

2010-06-03 Thread Hargett, Matt
> On Thu, Jun 3, 2010 at 6:09 AM, Richard Guenther > wrote: > > > Indeed ;)  I'd like us to switch to the C / C++ common soon (thus, > > use C for stage1 and C++ for stage2 and stage3).  That will help > > us sort out problems on the various host/target combinations that > > will surely exist. >

RE: gengtype needs for C++?

2010-06-28 Thread Hargett, Matt
> > In Tom's interesting idea, we would write the mark function by hand > for > > each C++ type that we use GTY with. > > > > One way to make this approach work for plugins would be to write > > > > template > > void > > mark(T& t) > > { > > t->mark(); > > } > > > > Then every plugin which invent

Re: MIPS: Get rid of branches to .subsections.

2010-08-18 Thread Matt Fleming
On Wed, Aug 18, 2010 at 01:43:10PM +0100, Ralf Baechle wrote: > It was a nice optimization - on paper at least. In practice it results in > branches that may exceed the maximum legal range for a branch. We can > fight that problem with -ffunction-sections but -ffunction-sections again > is incomp

Research Region Based Memory Management for Imperative Languages

2010-08-26 Thread Matt Davis
, and figured you all might know best. The other option, would be to implement such concepts in a research language, which can still be interesting, but I'm not sure how practical. -Matt

RE: [C++0x] implementing forward declarations for enums

2010-09-20 Thread Hargett, Matt
I just wanted to say thanks for implementing this. Being able to forward declare enums will make dependency breaking in legacy code much easier in many real-world cases. Thanks again! -Original Message- From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of Rodrigo Ri

RE: [C++0x] implementing forward declarations for enums

2010-09-22 Thread Hargett, Matt
On 09/21/2010 07:05 PM, Rodrigo Rivas wrote: >>> I had to initialize the variable nested_being_defined to get it to compile >>> (possible uninitialized warning). I initialized it to false. >>> >> Ok, actually it is never used uninitialized, but let's get rid of the >> warning. >> > I sa

Re: %pc relative addressing of string literals/const data

2010-10-06 Thread Matt Thomas
On Oct 6, 2010, at 6:52 AM, Ian Lance Taylor wrote: > Joakim Tjernlund writes: > >> I really wish mrelocatable is added to all archs. The normal ELF relocs >> are too big to fit well in u-boot. > > Every architecture is different and requires a thoughtful approach to > determine the best way t

Re: constant string changed

2010-10-06 Thread Matt Thomas
On Oct 6, 2010, at 3:02 PM, Robert Dewar wrote: > On 10/6/2010 5:43 PM, Richard Guenther wrote: >> On Wed, Oct 6, 2010 at 11:34 PM, Phung Nguyen wrote: >>> How can I turn this optimization off? >> >> Use -fno-builtin-printf. > > I'm curious, it's obviously a correct optimization, so why > woul

RE: GCC and out-of-range constant array indexes?

2010-10-08 Thread Hargett, Matt
> The impact is that I may think that after I build my project at > -O0 or -O1, with various warnings enabled, that there are > potential surprises that await, when I perform a production build > at -O2 and higher. -Warray-bounds warnings can also be triggered only when using the aggressive inlin

Constant initializers

2010-10-18 Thread Matt Fischer
ialize another global variable, regardless of whether or not it's constant? Is there some way to convince gcc to accept this syntax? I tried various values for --std and couldn't seem to find any that worked. Thanks, Matt

GCC Intermodule Analysis for Go

2010-11-23 Thread Matt Davis
entire object file each time a small change is made. Thoughts? Is this even feasible? -Matt

RE: call for libstdc++ profile mode diagnostic ideas

2010-12-28 Thread Hargett, Matt
> I'm planning to add a set of new performance diagnostics to the > libstdc++ profile mode > (http://gcc.gnu.org/onlinedocs/libstdc++/manual/profile_mode.html) and > am trying to come up with a list of what diagnostics are most > meaningful and most wanted. > > At this (brainstorming) point I'm lo

RE: call for libstdc++ profile mode diagnostic ideas

2011-01-05 Thread Hargett, Matt
> Your first example points to a weakness in the compiler optimization. > If base_string constructor is inlined, the compiler should be able to > figure out both 'name' and the heap memory it points to can not be > modified by the call to notify, and therefore hoist access name.c_str > () and name.

Debug symbol information in elf file

2011-01-13 Thread Matt Redfearn
ster parameter, a PSYM and RSYM. Please could you tell me if this assumption is correct and if so, any ideas why gcc would not be putting this information in the elf file? Is there any architectural dependant code that needs to be implemented that might be missing from the port to add this debugging information? Thanks very much, Matt

Reproducibility, file names, and -frandom-seed

2006-03-12 Thread Matt McCutchen
ource, but gcc 4.0.2 20051125 (Red Hat 4.0.2-8) includes them even when -g is off. Is there a good reason for this? -- Matt McCutchen [EMAIL PROTECTED] http://hashproduct.metaesthetics.net/

independent study

2006-05-30 Thread Matt Davis
e GCC with the current available command line options. While I think that is a great project, I would like to develop, or tweak, some type of internal aspect of GCC. Thanks! -Matt

Addressing modes question

2006-07-06 Thread Matt Lee
indexed addressing on stores, while allowing immediate forms of addressing with loads. Any help is much appreciated. thanks, Matt

Re: On(c)e more: optimizer failure

2021-08-21 Thread Matt Godbolt
I believe your example doesn't take into account that the values can be NaN which compares false in all situations. If you allow the compiler to optimize without supporting NaN (-ffast-math), I think it generates the code you want: https://godbolt.org/z/1ra7zcsnd --matt On Sat, Aug 21, 2021

Re: On(c)e more: optimizer failure

2021-08-21 Thread Matt Godbolt
Ok! Thanks; sorry for the misunderstanding on my side. --matt On Sat, Aug 21, 2021 at 2:53 PM Stefan Kanthak wrote: > Matt Godbolt wrote: > > > I believe your example doesn't take into account that the values can be > NaN > > which compares false in all situatio

warning: conflicting types for built-in function %qD

2005-02-14 Thread Matt Austern
y like. Earlier versions of the compiler did not issue this warning, and the C++ front end still doesn't. I'd like to see this warning removed, or at the very least tamed. --Matt

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 4:18 PM, Joe Buck wrote: On Thu, Feb 17, 2005 at 03:47:03PM -0800, Matt Austern wrote: I'm sure there are still lots of horrible bugs, which will only be found with a more complete test suite. But the core functionality works, and at this point I think it'll improve

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 4:03 PM, Paolo Carlini wrote: Matt Austern wrote: OK to commit to mainline? ... before going to sleep, two very simple, slighlty less enthusiastic comments ;) 1- Please add 2005 to the copyrights. Fixed. 2- I see that the table of primes assumes that unsigned long is 32-bit

Re: PATCH: TR1 unordered associative containers

2005-02-17 Thread Matt Austern
On Feb 17, 2005, at 3:57 PM, Paolo Carlini wrote: Hi Matt, I'm sure there are still lots of horrible bugs, which will only be found with a more complete test suite. But the core functionality works, and at this point I think it'll improve faster in the CVS server than sitting

Re: PATCH: TR1 unordered associative containers

2005-02-18 Thread Matt Austern
too large to be useful; the prime number theorem says that the list would have something like 190 million entries. --Matt

Re: GCC 4.0 Status Report (2005-02-03)

2005-02-21 Thread Matt Rice
sorry for the cross-posting but this proposal will require some synergy between the three projects > * Project Title Frameworks for GNU Toolchain > * Project Contributors Matt Rice > * Dependencies Framework support in libc/bfd/binutils > * Delivery Date gcc portion is done, but bl

Obtaining a callsite address.

2013-03-09 Thread Matt Davis
I have a GIMPLE_CALL gimple object. I want to get the tree node representing the callsite for this particular instance of a call, how can I get this information? -Matt

Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Sun, Mar 10, 2013 at 9:35 PM, Basile Starynkevitch wrote: > On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: >> I have a GIMPLE_CALL gimple object. I want to get the tree node >> representing the callsite for this particular instance of a call, how >> can I

Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Sun, Mar 10, 2013 at 11:27 PM, Basile Starynkevitch wrote: > On Sun, Mar 10, 2013 at 10:54:39PM +1100, Matt Davis wrote: >> On Sun, Mar 10, 2013 at 9:35 PM, Basile Starynkevitch >> wrote: >> > On Sun, Mar 10, 2013 at 01:51:04PM +1100, Matt Davis wrote: >> >>

Re: Obtaining a callsite address.

2013-03-10 Thread Matt Davis
On Mon, Mar 11, 2013 at 12:13 AM, Steven Bosscher wrote: > On Sun, Mar 10, 2013 at 22:54, Matt Davis wrote: >> I have a particular instance of a >> function call within a function that I am analyzing (and >> transforming). I want the address of that function call, for

Build problem with 4.8.0 RC-20130316 and in-tree binutils

2013-03-20 Thread Matt Godbolt
e in ${BINUTILS_FILES} do if [ ! -e "$file" ] then ln -sf "../${BINUTILS_DIR}/${file}" fi done popd Any pointers welcomed, and I'd be happy to supply even more information. Much appreciated, Matt

Re: Build problem with 4.8.0 RC-20130316 and in-tree binutils

2013-03-20 Thread Matt Godbolt
shared and see if that works. What does this flag do: I couldn't find any reference to it on http://gcc.gnu.org/onlinedocs/libstdc++/manual/configure.html or in ./configure --help - I must have picked it up from the seed set of configure options I cribbed from the Ubuntu-built gcc. Thanks, Ma

Re: Build problem with 4.8.0 RC-20130316 and in-tree binutils

2013-03-20 Thread Matt Godbolt
On Wed, Mar 20, 2013 at 8:42 AM, Ian Lance Taylor wrote: > On Wed, Mar 20, 2013 at 6:36 AM, Matt Godbolt wrote: >> >> Thanks for the quick reply. I definitely have --enable-shared set in >> the configuration, and had so with 4.7. However I'm not certain that >&g

--disable-install-libiberty and libiberty.a

2013-03-29 Thread Matt Burgess
suppress installation of the archive as well as the headers? If so, is the fact that it doesn't a GCC bug or a binutils bug (if the assumption in 1. above holds, I'd also assume that the copy of libiberty in GCC's source tree is taken verbatim from there, and therefore this is a binu

Re: --disable-install-libiberty and libiberty.a

2013-03-29 Thread Matt Burgess
On Fri, 2013-03-29 at 06:13 -0700, Ian Lance Taylor wrote: > On Fri, Mar 29, 2013 at 1:35 AM, Matt Burgess > wrote: > > > > 1) We currently assume that binutils is 'upstream' for libiberty > > development, and should therefore 'own' the libiberty.a fi

Rogue SUBREG

2014-01-20 Thread Matt Thomas
I'm looking into http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58901 and trying to find where the following rtx is being generated: (subreg:HI (mem/u/c:SI (plus:SI (mult:SI (reg/v:SI 0 %r0 [orig:77 count ] [77]) (const_int 4 [0x4])) (symbol_ref:SI ("DECPOWERS") [flags 0x

Cloning functions

2012-03-19 Thread Matt Davis
clones. I know there must be some update routine, (rebuild_cgraph_edges() did not help) to glue the callee clones in place so that they do not revert back to the original callee. I hope I haven't been too confusing, I do appreciate any help if possible. -Matt

Re: Cloning functions

2012-03-20 Thread Matt Davis
Hi Martin, thanks very much for the information! On Tue, Mar 20, 2012 at 9:29 PM, Martin Jambor wrote: > Hi, > > On Tue, Mar 20, 2012 at 02:07:17PM +1100, Matt Davis wrote: >> Hello, >> In my transformation of an input program, I need to clone functions >> and the cal

Abort from expand_gimple_stmt_1 due to gcc_unreacable()

2012-04-13 Thread Matt Davis
lag set to 'true' Any help or suggestions would be much appreciated. Thanks! -Matt

-Os seems to remove a variable necessary for my transformation

2012-05-03 Thread Matt Davis
So, I guess my question is, how can I force this stmt to hang around? I looked at eliminate_unnecessary_stmts, and do not see any specific flags I can set to the stmt to make 'em hang around, and I do not know what to do to make LHS appear not "dead." Even if I set 'ssa' TREE_USED and 'decl' as DECL_PRESERVE_P. Thanks for any information! -Matt

Creating a global string constant node.

2012-08-03 Thread Matt Davis
I pass to build_decl(). Is there an example in the code my grep-foo has failed me for this specific case? Thanks much! -Matt

Re: Creating a global string constant node.

2012-08-03 Thread Matt Davis
On Sat, Aug 4, 2012 at 12:52 PM, Matt Davis wrote: > Hello, > I need to create a global string constant node. In the past, I have > always been able to add global variables, but I have always left them > uninitialized. I know the trick is to build_decl() of VAR_DECL and, I > gue

Tree Versioning Question

2012-08-05 Thread Matt Davis
irely sure. I am not even sure why BB5 is even created as 0 is the Entry and 1 is the exit block. I am running gcc 4.7.1 and am a bit lost as to what to do. -Matt

Re: Tree Versioning Question

2012-08-06 Thread Matt Davis
On Mon, Aug 6, 2012 at 1:43 PM, Matt Davis wrote: > Hello, > I am using cgraph_function_versioning() to create a duplicate > function, e.g. a clone. This usually has worked well for me in the > past, but I have run into an interesting case where the > tree_function_versi

gcov question

2012-08-09 Thread Johnson, Matt
Hello all, I'm testing out feedback optimization on a sample piece of code. I noticed that the .gcno file that is output lists 10 blocks, yet the .gcda file that is produced when I execute only contains 7 counts. I thought these were supposed to correspond, but perhaps not? Can anyone explai

Error handling after gimple statement insert.

2012-08-14 Thread Matt Davis
Usually this works, but in one of my cases it is failing. I have not been able to pinpoint what is unique about the failing case. I am just looking for any insight. Thanks! -Matt

Re: Error handling after gimple statement insert.

2012-08-15 Thread Matt Davis
So no one wastes time looking into this On Wed, Aug 15, 2012 at 10:54 AM, Matt Davis wrote: > Hello, > In my compiler pass, I am inserting a new gimple call statement, and > then replacing the next call. This usually works fine, and after I do > this, the gimple dump looks

Error Handling Updating (part 2)

2012-08-16 Thread Matt Davis
gsi_one_before_end_p on that call statement is returning 'false' (which seems correct since it is no longer the last statement in that block) and the compiler assert is triggered. Any insight would be appreciated, thanks. -Matt

Creating a variable sized array at compile time.

2012-09-15 Thread Matt Davis
:67 (gcc-4.7.1), as the type is unreachable. The unreachable being the decl, instance of the member. Should both the member and members array be DECL nodes that have their DECL_INITIAL field set to the respected results from calling build_constructor() for the member instance and members array? -Matt

Re: Configure gcc with --multilib=... ?

2012-11-03 Thread Matt Turner
On Tue, Jun 14, 2011 at 9:26 AM, Joseph S. Myers wrote: > On Tue, 14 Jun 2011, Matt Turner wrote: > >> I say this mail http://gcc.gnu.org/ml/gcc/2010-01/msg00063.html >> suggesting the addition of a --multilib= configure option. Has such a >> thing been added? Is there a

Accessing Go type descriptors from the middle end

2012-12-13 Thread Matt Davis
Hello, I have a GIMPLE pass and would like to make use of the data type information that the Go frontend produces. Is there a way to access this information from the middle end without having to query the frontend? -Matt

Re: Accessing Go type descriptors from the middle end

2012-12-13 Thread Matt Davis
Hi Ian, Thank you for your reply. On Fri, Dec 14, 2012 at 10:00 AM, Ian Lance Taylor wrote: > On Thu, Dec 13, 2012 at 4:16 AM, Matt Davis wrote: >> >> I have a GIMPLE pass and would like to make use of the data type >> information that the Go frontend produces. Is there a

Offset from frame pointer question

2013-01-24 Thread Matt Davis
expression that represents my variable, is sometimes 2 words off? Thanks! -Matt

Initial Stack Padding?

2013-01-26 Thread Matt Davis
rtx. Since these variables are local, the RTL expression reflects an offset from the stack frame pointer. For instance, the variable 'matt': (mem/f/c:DI (plus:DI (reg/f:DI 20 frame) (const_int -8 [0xfff8])) [0 matt+0 S8 A64]) I interpret this as being -8 bytes awa

Re: Initial Stack Padding?

2013-01-28 Thread Matt Davis
Thanks Ian, On Mon, Jan 28, 2013 at 4:32 PM, Ian Lance Taylor wrote: > On Sat, Jan 26, 2013 at 5:44 PM, Matt Davis wrote: >> This question is similar to my last; however, I think it provides a >> bit more clarity as to how I am obtaining offsets from the frame >> pointer

Array of pointers to global data

2013-01-31 Thread Matt Davis
decl = create_tmp_var(type, "testarray"); DECL_INITIAL(decl) = build_constructor(type, entries); return decl; } Do I have to explicitly create assignment statements for each element, since my array is local? As I mention above, if I make my array global, everything is fine. -Matt

Re: Array of pointers to global data

2013-02-01 Thread Matt Davis
, Feb 1, 2013 at 8:09 PM, Richard Biener wrote: > On Fri, Feb 1, 2013 at 5:03 AM, Matt Davis wrote: >> Hello, >> I have a routine that creates a local array containing pointers to >> global data. At runtime, when this array is passed to a function, I >> do not see the poi

Re: Array of pointers to global data

2013-02-02 Thread Matt Davis
I just wanted to post an update, mainly that I have solved my problem :-) A bit more on this follows below... On Sat, Feb 2, 2013 at 12:01 PM, Matt Davis wrote: > Thanks Ian, Richard. > I have some modified code which seems to be along the same lines as > what you all suggested. Howe

DRIVER

2013-02-04 Thread MATT J
I NEED A DRIVER FOR MY WIFE

Marking nodes as addressable

2013-02-07 Thread Matt Davis
return of a caller to be stored on the stack, in a temporary variable, instead of lying around in a register, or being passed to other free registers? -Matt

Re: Marking nodes as addressable

2013-02-08 Thread Matt Davis
On Fri, Feb 8, 2013 at 7:20 PM, Richard Biener wrote: > On Fri, Feb 8, 2013 at 2:40 AM, Matt Davis wrote: >> I have a GIMPLE_CALL statement and I want to mark the left-hand-side >> value as being addressable (mark_addressable()). I am trying to force >> the result to be sto

Re: GCC 4.3 target deprecation proposals

2008-01-21 Thread Matt Thomas
ing is that NetBSD port to the vax is very much alive and maintained. Thus, I expect that those users (eg Matt Thomas) would like to see the GCC port retained. We would. I have gcc working with gcc4.3 but gcc's use mpfr/gmp has made native test impossible since neither work on vax/elf. I

Document building GMP/MPFR in local tree?

2008-01-24 Thread Matt Fago
Per http://gcc.gnu.org/ml/gcc/2006-10/msg00141.html it is possible to build GMP/MPFR in the local tree with the current Trunk. This build method may ease issues with building gcc. Would it be possible to document this for 4.3? Thanks, Matt

Loop Detection in IPA

2008-08-06 Thread Matt G.
mended way? Thanks in advance, and apologies again for the crosspost. -- Matt G.

RFA: emitting .rodata before .text

2008-09-22 Thread Matt Thomas
In trying to make gcc for VAX pass test suites, one of the problems is gcc.c-torture/compile/pr34029-2.c in that the function foo is emitted before .rodata. This mean s & t are undefined and vax--netbsdelf-as doesn't like that. Moving .rodata before .text solves this but I can't see how to forc

c-common.c line 5179: isn't this a nop?

2007-05-14 Thread Matt Thomas
In handle_aligned_attributes in c-common.c, at line 5146, it does type = &TREE_TYPE (decl); Then at 5179 it does TREE_TYPE (decl) = *type; In between, type doesn't change so that's really TREE_TYPE (decl) = * &TREE_TYPE (decl); or TREE_TYPE (decl) = TREE_TYPE

Re: use of %n in genmodes.c causes trouble on Vista

2007-06-07 Thread Matt Fago
sider using gets_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - Matt

-Warray-bounds issue

2007-07-23 Thread Matt Hargett
Hi, I'll be teaching a class this week on code analysis and I wanted to demonstrate GCC 4.3's new array bounds analysis capabilities. Unfortunately, I can't seem to get the new array bounds warnings to appear in gcc-4.3-20070720 using the commandline of '-O2 -Warray-bounds' with either of the f

Re: -Warray-bounds issue

2007-07-23 Thread Matt Hargett
Diego, Thanks so much for the quick reponse! Some more questions below :) On Monday 23 July 07 11:54:58 Diego Novillo wrote: > On 7/23/07 2:44 PM, Matt Hargett wrote: > > #include > > > > int main(int argc, char **argv) > > { > > size_t size = 16; > &

DFA Scheduler - unable to pipeline loads

2007-08-31 Thread Matt Lee
uce the optimal schedule? I appreciate any help as I have run into a similiar scheduling situation with other architectures in the past (GCC seems to choose not to pipeline things as much as it can) and this time I would like to understand it a bit more. Compile flags used are basically, -O3. -- thanks, Matt

Re: DFA Scheduler - unable to pipeline loads

2007-09-04 Thread Matt Lee
forwarding paths within the pipeline that make integer results available sooner. thanks, Matt On 9/3/07, Ye, Joey <[EMAIL PROTECTED]> wrote: > Matt, > > I just started working on pipeline description and I'm confused one thing in > your description. > > For "

Re: DFA Scheduler - unable to pipeline loads

2007-09-04 Thread Matt Lee
On 8/31/07, Adam Nemet <[EMAIL PROTECTED]> wrote: > "Matt Lee" <[EMAIL PROTECTED]> writes: > > > I am seeing poor scheduling in Dhrystone where a memcpy call is > > expanded inline. > > > > memcpy (&dst, &src, 16) ==> > > > &

Register allocation issues

2007-09-05 Thread Matt Lee
instead of new volatiles. Is this a problem with some poor cost model in my backend? How do I get more information about why the register allocator didn't pick the other volatiles? -- thanks, Matt func.lreg Description: Binary data

Re: Register allocation issues

2007-09-06 Thread Matt Lee
On 9/6/07, David Edelsohn <[EMAIL PROTECTED]> wrote: > >>>>> Matt Lee writes: > > Matt> The problem is, that though the loads can be optimized by pipelining > Matt> them. The register allocator has created a dependency by using only r3 > Matt>

Re: Register allocation issues

2007-09-06 Thread Matt Lee
On 9/6/07, Dave Korn <[EMAIL PROTECTED]> wrote: > On 05 September 2007 23:47, Matt Lee wrote: > > > Registers r3 to r12 are volatiles. However, for the C code below, > > > > struct foo { > > int a[4]; > > } ; > > > > struct foo p, q; >

Re: Register allocation issues

2007-09-06 Thread Matt Lee
On 9/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >>>>> Matt Lee writes: > Date: Thu, 06 Sep 2007 15:02:52 -0400 > From: David Edelsohn <[EMAIL PROTECTED]> > > Matt> There is no point trying to minimize usage of volatile hard registers, > Mat

Re: Register allocation issues

2007-09-06 Thread Matt Lee
On 9/6/07, Segher Boessenkool <[EMAIL PROTECTED]> wrote: > > load r3, q + 0 > > load r4, q + 4 > > store r3, p + 0 > > store r4, p + 4 > > load r3, q + 4 > > load r4, q + 8 > > store r3, p + 4 > > store r4, p + 8 > > These last four lines should be > > load r3, q + 8 > load r4, q +

Re: GCC does not optimize well enough with vectors on bitshift

2025-03-11 Thread Matt Godbolt
ht to be a pop-up warning you against doing this (I'm not sure why it didn't show up). Please use a specific architecture e.g. `-march=skylake-avx512` - https://godbolt.org/z/GvTcqasqK Thanks, Matt :) On Mon, Mar 10, 2025 at 10:47 AM Qwert Nerdish via Gcc wrote: > Correct link i

Re: Clobber REG_CC only for some constraint alternatives?

2020-08-14 Thread Matt Wette via Gcc
ate_operand" "=r,d ,q,r") (match_operand:ALL1 1 "nox_general_operand" "r,n Ynn,r,q")) (clobber (const_int 0))] "(register_operand (operands[0], mode) || reg_or_0_operand (operands[1], mode)) && reload_completed" { return output_movqi (insn, operands, NULL); } [(set_attr "length" "1,1,1,1") (set_attr "adjust_len" "mov8")]) Regards Senthil Happy to see someone working this.   Are you starting with one CC mode? I noticed that the current CC0 implementation seems to effectively use several modes.  For example, one for use of the t flag.  I'm sure it will be easier to start with one mode. Matt

Re: Critical errors in your website

2021-07-13 Thread Matt Prater via Gcc
Hi, I Just want to confirm that did you got my last email or not. If you find this interesting and want to know more about it , share your details with us our experts will get in touch and share further details with you. I look forward to your response. Regards, Matt Prater On Thu, Jul 8

Re: Updated Sourceware infrastructure plans

2024-04-18 Thread Matt Rice via Gcc
On Thu, Apr 18, 2024 at 5:38 PM Frank Ch. Eigler wrote: > > Hi - > > > [...] I suggest that a basic principle for such a system is that it > > should be *easy* to obtain and maintain a local copy of the history > > of all pull requests. That includes all versions of a pull request, > > if it get

Re: On pull request workflows for the GNU toolchain

2024-09-20 Thread Matt Rice via Gcc
On Thu, Sep 19, 2024 at 3:52 PM Joseph Myers via Gdb wrote: > > 1. Introduction > > This message expands on my remarks at the Cauldron (especially the > patch review and maintenance BoF, and the Sourceware infrastructure > BoF) regarding desired features for a system providing pull request > func

<    1   2