Skip to content

Commit

Permalink
[herd,asl] Fix inversion of ADD and ADDS semantics.
Browse files Browse the repository at this point in the history
  • Loading branch information
maranget committed Sep 11, 2023
1 parent 9cabafc commit 7344adc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions herd/AArch64ASLSem.ml
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ module Make (TopConf : AArch64Sig.Config) (V : Value.AArch64ASL) :
| _ -> assert false
and fname =
match op with
| ADD -> "ADDS_32_addsub_shift.opn"
| ADDS -> "ADD_32_addsub_shift.opn"
| ADD -> "ADD_32_addsub_shift.opn"
| ADDS -> "ADDS_32_addsub_shift.opn"
| SUB -> "SUB_32_addsub_shift.opn"
| SUBS -> "SUBS_32_addsub_shift.opn"
| AND -> "AND_32_log_shift.opn"
Expand Down

0 comments on commit 7344adc

Please sign in to comment.