Skip to content

Commit

Permalink
Merge pull request #652 from herd/asl-fix-add
Browse files Browse the repository at this point in the history
[herd,asl] Fix inversion of ADD and ADDS semantics.
  • Loading branch information
maranget authored Sep 11, 2023
2 parents 9cabafc + 7344adc commit a0cf14a
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 a0cf14a

Please sign in to comment.