* [PATCH, i386]: Fix PR82098, ICE in elimination_costs_in_insn
@ 2017-09-04 18:30 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2017-09-04 18:30 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 286 bytes --]
2017-09-04 Uros Bizjak <ubizjak@gmail.com>
PR target/82098
* config/i386/i386.md (*<btsc><mode>_mask): Add
TARGET_USE_BT to insn constraint.
(*btr<mode>_mask): Ditto.
Bootstrapped and regression tested on x86_64-linux-gnu {,-m32}.
Committed to mainline SVN.
Uros.
[-- Attachment #2: r.diff.txt --]
[-- Type: text/plain, Size: 1040 bytes --]
Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md (revision 251662)
+++ config/i386/i386.md (working copy)
@@ -11033,8 +11033,9 @@
(match_operand:SI 2 "const_int_operand")) 0))
(match_operand:SWI48 3 "register_operand")))
(clobber (reg:CC FLAGS_REG))]
- "(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
- == GET_MODE_BITSIZE (<MODE>mode)-1
+ "TARGET_USE_BT
+ && (INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
+ == GET_MODE_BITSIZE (<MODE>mode)-1
&& can_create_pseudo_p ()"
"#"
"&& 1"
@@ -11073,8 +11074,9 @@
(match_operand:SI 2 "const_int_operand")) 0))
(match_operand:SWI48 3 "register_operand")))
(clobber (reg:CC FLAGS_REG))]
- "(INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
- == GET_MODE_BITSIZE (<MODE>mode)-1
+ "TARGET_USE_BT
+ && (INTVAL (operands[2]) & (GET_MODE_BITSIZE (<MODE>mode)-1))
+ == GET_MODE_BITSIZE (<MODE>mode)-1
&& can_create_pseudo_p ()"
"#"
"&& 1"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-04 18:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-04 18:30 [PATCH, i386]: Fix PR82098, ICE in elimination_costs_in_insn Uros Bizjak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).