Re: [PATCH, i386]: Use indirect functions some more

2011-03-19 Thread Uros Bizjak
On Fri, Mar 18, 2011 at 10:08 PM, Richard Henderson wrote: > On 03/18/2011 01:40 PM, Uros Bizjak wrote: >>        if (mode == SFmode) >> -     insn = gen_truncxfsf2 (operands[0], reg); >> +     insn = gen_truncxfsf2; >>        else if (mode == DFmode) >> -     insn = gen_truncxfdf2 (operands[0], r

Re: [PATCH, i386]: Use indirect functions some more

2011-03-18 Thread Richard Henderson
On 03/18/2011 01:40 PM, Uros Bizjak wrote: >if (mode == SFmode) > - insn = gen_truncxfsf2 (operands[0], reg); > + insn = gen_truncxfsf2; >else if (mode == DFmode) > - insn = gen_truncxfdf2 (operands[0], reg); > + insn = gen_truncxfdf2; >else > gcc_unrea

[PATCH, i386]: Use indirect functions some more

2011-03-18 Thread Uros Bizjak
Hello! Just a trivial cleanup, no functional changes. 2011-03-18 Uros Bizjak * config/i386/i386.md (float2): Rewrite using indirect functions. (lwp_slwpcb): Ditto. (avx_vextractf128): Ditto. (avx_vinsertf128): Ditto. Tested on x86_64-pc-linux-gnu {,-m3