[Bug target/71278] Inline nearbyint for SSE4.1
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Sep 26 15:02:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71278
--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
Author: uros
Date: Tue Sep 25 14:26:11 2018
New Revision: 264571
URL: https://gcc.gnu.org/viewcvs?rev=264571&root=gcc&view=rev
Log:
PR target/71278
* config/i386/i386.md (frndintxf2_mask_pm): Remove.
(frndintxf2_mask_pm_i387): Ditto.
(nearbyintxf2): Rewrite expander pattern to match rintxf2.
Enable for !flag_trapping_math.
(nearbyint<mode>2): Enable x87 modes for !flag_trapping_math.
Enable SSE modes for TARGET_SSE4_1 and expand them with round insn.
Change operand 1 predicate to nonimmediate_operand.
(attr "i387_cw"): Remove mask_pm.
* config/i386/i386.h (enum ix86_stack_slot): Remove SLOT_CW_MASK_PM.
(enum ix86_entity): Remove I387_MASK_PM.
* config/i386/i386.c (ix86_i387_mode_needed): Do not
handle I387_MASK_PM.
(ix86_mode_needed): Ditto.
(ix86_mode_after): Ditto.
(ix86_mode_entry): Ditto.
(ix86_mode_exit): Ditto.
(emit_i387_cw_initialization): Do not handle I387_CW_MASK_PM.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/i386/i386.c
trunk/gcc/config/i386/i386.h
trunk/gcc/config/i386/i386.md
trunk/gcc/reg-stack.c
More information about the Gcc-bugs
mailing list