PATCH: Remove fits_in_imm4

H.J. Lu hongjiu.lu@intel.com
Wed Feb 25 18:59:00 GMT 2009
I am checking in this patch to remove fits_in_imm4.


H.J.
---
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/gas/ChangeLog,v
retrieving revision 1.3746
diff -u -p -r1.3746 ChangeLog
--- ChangeLog	25 Feb 2009 16:34:10 -0000	1.3746
+++ ChangeLog	25 Feb 2009 18:58:28 -0000
@@ -1,3 +1,7 @@
+2009-02-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* config/tc-i386.c (fits_in_imm4): Removed.
+
 2009-02-24  Helge Deller <deller@gmx.de>
 
 	* config/tc-hppa.c (pa_ip): Add check of immediate values.
Index: config/tc-i386.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-i386.c,v
retrieving revision 1.367
diff -u -p -r1.367 tc-i386.c
--- config/tc-i386.c	23 Feb 2009 23:05:21 -0000	1.367
+++ config/tc-i386.c	25 Feb 2009 18:58:28 -0000
@@ -1673,12 +1673,6 @@ fits_in_unsigned_long (offsetT num ATTRI
 #endif
 }				/* fits_in_unsigned_long() */
 
-static INLINE int
-fits_in_imm4 (offsetT num)
-{
-  return (num & 0xf) == num;
-}
-
 static i386_operand_type
 smallest_imm_type (offsetT num)
 {



More information about the Binutils mailing list