mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1123631 - SIMD Ion: Disable inlining of Float64x2. r=bbouvier
This commit is contained in:
parent
c88d8c3716
commit
09de8e21b2
9
js/src/jit-test/tests/ion/simd-bug1123631.js
Normal file
9
js/src/jit-test/tests/ion/simd-bug1123631.js
Normal file
@ -0,0 +1,9 @@
|
||||
if (!this.hasOwnProperty("SIMD"))
|
||||
quit();
|
||||
|
||||
var float64x2 = SIMD.float64x2;
|
||||
function test() {
|
||||
var a = float64x2(1, 2);
|
||||
}
|
||||
test();
|
||||
test();
|
@ -2530,9 +2530,8 @@ IonBuilder::inlineConstructSimdObject(CallInfo &callInfo, SimdTypeDescr *descr)
|
||||
case SimdTypeDescr::TYPE_FLOAT32:
|
||||
simdType = MIRType_Float32x4;
|
||||
break;
|
||||
default:
|
||||
MOZ_CRASH("Unknown SIMD kind when generating MSimdBox instruction.");
|
||||
return InliningStatus_NotInlined;
|
||||
case SimdTypeDescr::TYPE_FLOAT64:
|
||||
return InliningStatus_NotInlined; // :TODO: NYI (Bug 1124205)
|
||||
}
|
||||
|
||||
// We do not inline SIMD constructors if the number of arguments does not
|
||||
|
Loading…
Reference in New Issue
Block a user