Floating point with AVX.

This commit is contained in:
losfair
2019-04-09 01:24:30 +08:00
parent 154f7f8fd3
commit e32816b06b
3 changed files with 283 additions and 5 deletions

View File

@ -186,9 +186,7 @@ impl Machine {
for ty in tys {
let loc = match *ty {
WpType::F32 | WpType::F64 => {
self.pick_xmm().map(Location::XMM).or_else(
|| self.pick_gpr().map(Location::GPR)
)
self.pick_xmm().map(Location::XMM)
},
WpType::I32 | WpType::I64 => {
self.pick_gpr().map(Location::GPR)