* [PATCH, i386]: Remove any_div code iterator.
@ 2011-08-21 22:15 Uros Bizjak
0 siblings, 0 replies; only message in thread
From: Uros Bizjak @ 2011-08-21 22:15 UTC (permalink / raw)
To: gcc-patches
[-- Attachment #1: Type: text/plain, Size: 245 bytes --]
Hello!
2011-08-21 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (any_div): Remove.
(sgnprefix): Update for removal.
(u): Ditto.
Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32},
committed to mainline SVN.
Uros.
[-- Attachment #2: r.diff.txt --]
[-- Type: text/plain, Size: 996 bytes --]
Index: i386.md
===================================================================
--- i386.md (revision 177940)
+++ i386.md (working copy)
@@ -778,18 +778,13 @@
;; Used in signed and unsigned widening multiplications.
(define_code_iterator any_extend [sign_extend zero_extend])
-;; Various insn prefixes for signed and unsigned operations.
-(define_code_attr u [(sign_extend "") (zero_extend "u")
- (div "") (udiv "u")])
+;; Prefix for insn menmonic.
+(define_code_attr sgnprefix [(sign_extend "i") (zero_extend "")])
+
+;; Prefix for define_insn
+(define_code_attr u [(sign_extend "") (zero_extend "u")])
(define_code_attr s [(sign_extend "s") (zero_extend "u")])
-;; Used in signed and unsigned divisions.
-(define_code_iterator any_div [div udiv])
-
-;; Instruction prefix for signed and unsigned operations.
-(define_code_attr sgnprefix [(sign_extend "i") (zero_extend "")
- (div "i") (udiv "")])
-
;; All integer modes.
(define_mode_iterator SWI1248x [QI HI SI DI])
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-08-21 16:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-21 22:15 [PATCH, i386]: Remove any_div code iterator 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).