aboutsummaryrefslogtreecommitdiff
path: root/sim/or1k/sem-switch.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/or1k/sem-switch.c')
-rw-r--r--sim/or1k/sem-switch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sim/or1k/sem-switch.c b/sim/or1k/sem-switch.c
index b63add8..dccc65a 100644
--- a/sim/or1k/sem-switch.c
+++ b/sim/or1k/sem-switch.c
@@ -1056,7 +1056,6 @@ if (EQSI (ANDSI (tmp_addr, 268435452), CPU (h_atomic_address))) {
{
SI tmp_addr;
- BI tmp_flag;
tmp_addr = or1k32bf_make_load_store_addr (current_cpu, GET_H_GPR (FLD (f_r2)), EXTSISI (FLD (f_simm16_split)), 4);
{
USI opval = ANDBI (CPU (h_atomic_reserve), EQSI (tmp_addr, CPU (h_atomic_address)));