summaryrefslogtreecommitdiffstats
path: root/js/src/jit/x64
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:43:14 +0000
commit8dd16259287f58f9273002717ec4d27e97127719 (patch)
tree3863e62a53829a84037444beab3abd4ed9dfc7d0 /js/src/jit/x64
parentReleasing progress-linux version 126.0.1-1~progress7.99u1. (diff)
downloadfirefox-8dd16259287f58f9273002717ec4d27e97127719.tar.xz
firefox-8dd16259287f58f9273002717ec4d27e97127719.zip
Merging upstream version 127.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'js/src/jit/x64')
-rw-r--r--js/src/jit/x64/CodeGenerator-x64.cpp1
-rw-r--r--js/src/jit/x64/Lowering-x64.cpp1
-rw-r--r--js/src/jit/x64/MacroAssembler-x64.cpp3
3 files changed, 5 insertions, 0 deletions
diff --git a/js/src/jit/x64/CodeGenerator-x64.cpp b/js/src/jit/x64/CodeGenerator-x64.cpp
index 86d4bca0e0..4a5a2c3b06 100644
--- a/js/src/jit/x64/CodeGenerator-x64.cpp
+++ b/js/src/jit/x64/CodeGenerator-x64.cpp
@@ -631,6 +631,7 @@ void CodeGeneratorX64::wasmStore(const wasm::MemoryAccessDesc& access,
break;
case Scalar::Int64:
case Scalar::Simd128:
+ case Scalar::Float16:
case Scalar::Float32:
case Scalar::Float64:
case Scalar::Uint8Clamped:
diff --git a/js/src/jit/x64/Lowering-x64.cpp b/js/src/jit/x64/Lowering-x64.cpp
index 9f9b1713c2..85673e6422 100644
--- a/js/src/jit/x64/Lowering-x64.cpp
+++ b/js/src/jit/x64/Lowering-x64.cpp
@@ -322,6 +322,7 @@ void LIRGenerator::visitWasmStore(MWasmStore* ins) {
case Scalar::BigInt64:
case Scalar::BigUint64:
case Scalar::Uint8Clamped:
+ case Scalar::Float16:
case Scalar::MaxTypedArrayViewType:
MOZ_CRASH("unexpected array type");
}
diff --git a/js/src/jit/x64/MacroAssembler-x64.cpp b/js/src/jit/x64/MacroAssembler-x64.cpp
index ebc8c91eaa..c42fe844f6 100644
--- a/js/src/jit/x64/MacroAssembler-x64.cpp
+++ b/js/src/jit/x64/MacroAssembler-x64.cpp
@@ -1082,6 +1082,7 @@ void MacroAssembler::wasmLoad(const wasm::MemoryAccessDesc& access,
}
case Scalar::Int64:
MOZ_CRASH("int64 loads must use load64");
+ case Scalar::Float16:
case Scalar::BigInt64:
case Scalar::BigUint64:
case Scalar::Uint8Clamped:
@@ -1135,6 +1136,7 @@ void MacroAssembler::wasmLoadI64(const wasm::MemoryAccessDesc& access,
FaultingCodeOffset(currentOffset()));
movq(srcAddr, out.reg);
break;
+ case Scalar::Float16:
case Scalar::Float32:
case Scalar::Float64:
case Scalar::Simd128:
@@ -1199,6 +1201,7 @@ void MacroAssembler::wasmStore(const wasm::MemoryAccessDesc& access,
case Scalar::Uint8Clamped:
case Scalar::BigInt64:
case Scalar::BigUint64:
+ case Scalar::Float16:
case Scalar::MaxTypedArrayViewType:
MOZ_CRASH("unexpected array type");
}