diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-18 20:55:58 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 10:51:23 -0500 |
commit | fa99355b567e0693fb9b09bf328e0d1111e713c0 (patch) | |
tree | d346457ae65eec95487da5bd80ca978d0921329e /cpu | |
parent | cbbb73f4f9b0d7890c045fe8e159f651fbdca685 (diff) | |
download | gdb-fa99355b567e0693fb9b09bf328e0d1111e713c0.zip gdb-fa99355b567e0693fb9b09bf328e0d1111e713c0.tar.gz gdb-fa99355b567e0693fb9b09bf328e0d1111e713c0.tar.bz2 |
cpu: or1k: drop unused l.swa flag
The "flag" argument isn't set/used in this insn, so drop it.
This fixes an unused variable warning in the generated sim.
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/or1korbis.cpu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/or1korbis.cpu b/cpu/or1korbis.cpu index a8002a3..b4ecb84 100644 --- a/cpu/or1korbis.cpu +++ b/cpu/or1korbis.cpu @@ -717,7 +717,7 @@ ((MACH ORBIS-MACHS)) "l.swa ${simm16-split}($rA),$rB" (+ OPC_SWA rA rB simm16) - (sequence ((SI addr) (BI flag)) + (sequence ((SI addr)) (set addr (load-store-addr rA simm16-split 4)) (set sys-sr-f (and atomic-reserve (eq addr atomic-address))) (if sys-sr-f |