aboutsummaryrefslogtreecommitdiff
path: root/cpu/bpf.cpu
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/bpf.cpu')
-rw-r--r--cpu/bpf.cpu10
1 files changed, 3 insertions, 7 deletions
diff --git a/cpu/bpf.cpu b/cpu/bpf.cpu
index 47d7cb0..dcfb0ca 100644
--- a/cpu/bpf.cpu
+++ b/cpu/bpf.cpu
@@ -98,13 +98,9 @@
;; Length of an unknown instruction. Used by disassembly and by the
;; simulator's invalid insn handler.
(default-insn-bitsize 64)
- ;; Number of bits of insn that can be initially fetched. XXX this
- ;; should be 64 (the size of the smallest insn) but until CGEN
- ;; gets fixed to place constant fields in their own words, we have
- ;; to use this workaround to avoid the opcode byte to be placed at
- ;; the wrong side of the instruction when assembling in
- ;; big-endian.
- (base-insn-bitsize 8)))
+ ;; Number of bits of insn that can be initially fetched. This is
+ ;; the size of the smallest insn.
+ (base-insn-bitsize 64)))
(define-bpf-isa le)
(define-bpf-isa be)