This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
These are ineffective, since no pass considers compares inside PARALLELs. They just weather through all pre-reload passes and then split to fcom+fnstsw/sahf sequence. We can as well expand compares to the above sequence at expand time. 2018-10-05 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (*cmpxf_cc_i387): Remove pattern. (*cmp<mode>_cc_i387): Ditto. (*cmpu<mode>_cc_i387): Ditto. (*cmp<X87MODEF:mode>_<SWI24:mode>_cc_i387): Ditto. * config/i386/i386.c (ix86_expand_fp_compare): Remove "scratch" argument. <case IX86_FPCMP_SAHF>: Do not generate pattern with HImode clobber. Emit x86_sahf_1 pattern. (ix86_expand_compare): Update call to ix86_expand_fp_compare. (ix86_expand_carry_flag_compare): Ditto. Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}. Committed to mainline SVN. Uros.
Attachment:
p.diff.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |