x64: Remove unnecessary register use when comparing against constants (#4645)

https://github.com/bytecodealliance/wasmtime/pull/4645
This commit is contained in:
Trevor Elliott
2022-08-09 16:53:51 -07:00
committed by GitHub
parent 4d2a2cfae6
commit 63c2d1e0c3
3 changed files with 79 additions and 0 deletions

View File

@@ -610,6 +610,11 @@ where
}
}
#[inline]
fn intcc_reverse(&mut self, cc: &IntCC) -> IntCC {
cc.reverse()
}
#[inline]
fn floatcc_inverse(&mut self, cc: &FloatCC) -> FloatCC {
cc.inverse()