Re: [Patch IA64]: Fix 32 bits tablejump

2012-03-27 Thread Tristan Gingold
On Mar 16, 2012, at 4:14 PM, Richard Henderson wrote: > On 03/16/12 04:56, Tristan Gingold wrote: >> 2012-03-16 Tristan Gingold >> >> * config/ia64/vms.h (CASE_VECTOR_MODE): Define. >> * config/ia64/ia64.md: Remove mode in template. >> Sign extend operand in expand_simple_binop

Re: [Patch IA64]: Fix 32 bits tablejump

2012-03-16 Thread Richard Henderson
On 03/16/12 04:56, Tristan Gingold wrote: > 2012-03-16 Tristan Gingold > > * config/ia64/vms.h (CASE_VECTOR_MODE): Define. > * config/ia64/ia64.md: Remove mode in template. > Sign extend operand in expand_simple_binop. > * config/ia64/ia64.h (ASM_OUTPUT_ADDR_DIFF_ELT): U

[Patch IA64]: Fix 32 bits tablejump

2012-03-16 Thread Tristan Gingold
Hi, I wanted to use 32 bit jump tables for VMS on ia64 (just to reduce executable size), as we know 64 offsets aren't necessary. I override CASE_VECTOR_MODE in vms.h, I had to adjust ASM_OUTPUT_ADDR_DIFF_ELT. I also adjust ADDR_VEC_ALIGN to reduce the alignment in the SImode case. But this resu