This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Remove fits_in_imm4
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sources dot redhat dot com
- Date: Wed, 25 Feb 2009 10:59:14 -0800
- Subject: PATCH: Remove fits_in_imm4
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
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)
{