summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2008-08-12 21:45:38 +0000
committerjkim <jkim@FreeBSD.org>2008-08-12 21:45:38 +0000
commitfcf41a718f3a8d7be85995a33114716f81fecdf1 (patch)
treeb7e41207ad7569c039ce53b67f338b95e49ce26d /sys
parentad7ec74ae4c8b24e55a92707602970ab0dff9b46 (diff)
downloadFreeBSD-src-fcf41a718f3a8d7be85995a33114716f81fecdf1.zip
FreeBSD-src-fcf41a718f3a8d7be85995a33114716f81fecdf1.tar.gz
MFamd64: Remove unused macros.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/bpf_jit_machdep.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/sys/i386/i386/bpf_jit_machdep.h b/sys/i386/i386/bpf_jit_machdep.h
index 1e31bec..d2eca52 100644
--- a/sys/i386/i386/bpf_jit_machdep.h
+++ b/sys/i386/i386/bpf_jit_machdep.h
@@ -183,13 +183,6 @@ typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
emitm(&stream, i32, 4); \
} while (0)
-/* addl i32,r32 */
-#define ADDid(i32, r32) do { \
- emitm(&stream, 0x81, 1); \
- emitm(&stream, (24 << 3) | r32, 1); \
- emitm(&stream, i32, 4); \
-} while (0)
-
/* addl i8,r32 */
#define ADDib(i8, r32) do { \
emitm(&stream, 0x83, 1); \
@@ -301,14 +294,6 @@ typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
emitm(&stream, (27 << 3) | (r32 & 0x7), 1); \
} while (0)
-/* cmpl off(sr32),dr32 */
-#define CMPodd(off, sr32, dr32) do { \
- emitm(&stream, 0x3b, 1); \
- emitm(&stream, \
- (1 << 6) | ((dr32 & 0x7) << 3) | (sr32 & 0x7), 1); \
- emitm(&stream, off, 1); \
-} while (0)
-
/* cmpl sr32,dr32 */
#define CMPrd(sr32, dr32) do { \
emitm(&stream, 0x39, 1); \
@@ -340,12 +325,6 @@ typedef void (*emit_func)(bpf_bin_stream *stream, u_int value, u_int n);
emitm(&stream, off32, 4); \
} while (0)
-/* jle off32 */
-#define JLE(off32) do { \
- emitm(&stream, 0x8e0f, 2); \
- emitm(&stream, off32, 4); \
-} while (0)
-
/* jle off8 */
#define JLEb(off8) do { \
emitm(&stream, 0x7e, 1); \
OpenPOWER on IntegriCloud