Re: s390: SImode pointers vs LR

2015-06-03 Thread Andreas Krebbel
On 06/02/2015 07:13 PM, Jeff Law wrote: > But isn't that 3 registers used in the address computation if the > (const_int 1) gets reloaded? one of the value shifted, two for the > shift count? I'm not familiar with the s390, so if you can handle that > kind of insn, then, umm, cool. The address

Re: s390: SImode pointers vs LR

2015-06-03 Thread Andreas Krebbel
On 06/03/2015 12:53 AM, Richard Henderson wrote: > On 06/02/2015 08:32 AM, Andreas Krebbel wrote: >> -(define_insn "*3" >> +(define_insn "*3_reg" >> [(set (match_operand:GPR 0 "register_operand" "=d") >> (SHIFT:GPR (match_operand:GPR 1 "register_operand" "") >> - (ma

RE: Question about find modifiable mems

2015-06-03 Thread Ajit Kumar Agarwal
-Original Message- From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of shmeel gutl Sent: Wednesday, June 03, 2015 12:10 PM To: GCC Development Subject: Question about find modifiable mems >>find_modifiable_mems was introduced to gcc 4.8 in september 2012. Is there >

parameters to _mm_mwait intrinsic

2015-06-03 Thread Kumar, Venkataramanan
Hi, I was going through the "monitor" and "mwait" builtin implementation. I need clarification on the parameters passed to _mm_mwait intrinsic. We have the following defined in "pmmintrin.h" extern __inline void __attribute__((__gnu_inline__, __always_inline__, __artificial__)) _mm_monitor (vo

Re: parameters to _mm_mwait intrinsic

2015-06-03 Thread Uros Bizjak
On Wed, Jun 3, 2015 at 2:47 PM, Kumar, Venkataramanan wrote: > Hi, > > I was going through the "monitor" and "mwait" builtin implementation. > I need clarification on the parameters passed to _mm_mwait intrinsic. > > Should the constraint be swaped for the operands in the pattern? Please swap th

Re: i386: does gcc work with CS ≠ DS?

2015-06-03 Thread Richard Henderson
On 06/02/2015 10:44 PM, H. Peter Anvin wrote: > Hi guys, another low level question: > > Obviously gcc for i386 requires DS = ES = SS (with FS and GS don't > care), but does gcc also require CS = DS? I don't believe so. In these modern times we don't place switch statement tables, or other const

gcc-4.9-20150603 is now available

2015-06-03 Thread gccadmin
Snapshot gcc-4.9-20150603 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.9-20150603/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.9 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Static Chain Register on iOS AArch64

2015-06-03 Thread Stephen Cross
Hello, I noticed the following comment in the GCC source ( https://github.com/gcc-mirror/gcc/blob/7c62dfbbcd3699efcbbadc9fb3aa14f23a123add/libffi/src/aarch64/ffitarget.h#L66 ): /* iOS reserves x18 for the system. Disable Go closures until a new static chain is chosen. */ Based on this comment, i

Re: Question about find modifiable mems

2015-06-03 Thread Jim Wilson
On 06/02/2015 11:39 PM, shmeel gutl wrote: > find_modifiable_mems was introduced to gcc 4.8 in september 2012. Is > there any documentation as to how it is supposed to help the haifa > scheduler? The patch was submitted here https://gcc.gnu.org/ml/gcc-patches/2012-08/msg00155.html and this messa

Re: [i386] Scalar DImode instructions on XMM registers

2015-06-03 Thread Jeff Law
On 05/27/2015 07:20 AM, Ilya Enkovich wrote: I looked into assign_stack_local_1 call for this spill. LRA correctly requests 16 bytes size with 16 bytes alignment. But assign_stack_local_1 look reduces alignment to 8 because estimated stack alignment before RA is 8 and requested mode's (DI) align

Announcing James Bowman as FT32 port maintainer

2015-06-03 Thread Jeff Law
I'm pleased to announce James Bowman has been appointed as the maintainer for the FT32 port. James, can you please add yourself to the MAINTAINERS file. Thanks, Jeff