Re: PATCH: Don't allow nonmemory_operand on movabs for x32

2011-07-27 Thread H.J. Lu
On Wed, Jul 27, 2011 at 4:40 AM, Uros Bizjak wrote: > On Wed, Jul 27, 2011 at 6:14 AM, H.J. Lu wrote: > >> For x32, movabs is only supported with register and constant operands. >> OK for trunk? > > As said on the PR49798, assembler should handle R_X86_64_64 relocations > > Anyway, the x86_64_mov

Re: PATCH: Don't allow nonmemory_operand on movabs for x32

2011-07-27 Thread Uros Bizjak
On Wed, Jul 27, 2011 at 6:14 AM, H.J. Lu wrote: > For x32, movabs is only supported with register and constant operands. > OK for trunk? As said on the PR49798, assembler should handle R_X86_64_64 relocations Anyway, the x86_64_movabs_operand predicate can be simplified to clearly show what it

PATCH: Don't allow nonmemory_operand on movabs for x32

2011-07-26 Thread H.J. Lu
Hi, For x32, movabs is only supported with register and constant operands. OK for trunk? Thanks. H.J. 2011-07-26 H.J. Lu * config/i386/predicates.md (x86_64_movabs_operand): Don't allow nonmemory_operand for TARGET_X32. diff --git a/gcc/config/i386/predicates.md b/gcc/conf