diff mbox

[i386] : Remove any_div code iterator.

Message ID CAFULd4a4sk+j=3roFO2Sak1foUVeMO8-35BnSQp7Kjy4pwPyxA@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Aug. 21, 2011, 4:23 p.m. UTC
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.
diff mbox

Patch

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])