Skip to content

Commit

Permalink
Update flags for data processing on ARM (#380)
Browse files Browse the repository at this point in the history
* Update flags for data processing on ARM

* Update yjit/src/backend/arm64/mod.rs

Co-authored-by: Maxime Chevalier-Boisvert <maximechevalierb@gmail.com>
  • Loading branch information
kddnewton and maximecb committed Aug 8, 2022
1 parent 4e7d654 commit d00f230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yjit/src/backend/arm64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl Assembler
}
},
Op::Add => {
add(cb, insn.out.into(), insn.opnds[0].into(), insn.opnds[1].into());
adds(cb, insn.out.into(), insn.opnds[0].into(), insn.opnds[1].into());
},
Op::FrameSetup => {
stp_pre(cb, X29, X30, A64Opnd::new_mem(128, C_SP_REG, -16));
Expand All @@ -565,7 +565,7 @@ impl Assembler
ldp_post(cb, X29, X30, A64Opnd::new_mem(128, C_SP_REG, 16));
},
Op::Sub => {
sub(cb, insn.out.into(), insn.opnds[0].into(), insn.opnds[1].into());
subs(cb, insn.out.into(), insn.opnds[0].into(), insn.opnds[1].into());
},
Op::And => {
and(cb, insn.out.into(), insn.opnds[0].into(), insn.opnds[1].into());
Expand Down

0 comments on commit d00f230

Please sign in to comment.