Skip to content

Commit

Permalink
[fix]: Fixed a few stray mistakes in the sse_fn macro
Browse files Browse the repository at this point in the history
  • Loading branch information
batconjurer committed Feb 10, 2022
1 parent 98b70d9 commit 8283a63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/compiler-singlepass/src/emitter_x64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ macro_rules! sse_fn {
|emitter: &mut AssemblerX64, precision: Precision, src1: XMM, src2: XMMOrMemory, dst: XMM| {
match src2 {
XMMOrMemory::XMM(x) => {
move_src_to_dst(emitter, precision, src1, dst)
move_src_to_dst(emitter, precision, src1, dst);
dynasm!(emitter ; $ins Rx((dst as u8)), Rx((x as u8)))
}
XMMOrMemory::Memory(base, disp) => {
Expand Down Expand Up @@ -746,7 +746,7 @@ macro_rules! sse_round_fn {
move_src_to_dst(emitter, precision, src1, dst);
dynasm!(emitter ; $ins Rx((dst as u8)), Rx((dst as u8)), $mode)
}
XMMOrMemory::Memory(base, disp) => unreachable!(),
XMMOrMemory::Memory(..) => unreachable!(),
}
}
}
Expand Down

0 comments on commit 8283a63

Please sign in to comment.