summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/asmjit/test/asmjit_test_misc.h
diff options
context:
space:
mode:
author Patrick Mackinlay <pmackinlay@hotmail.com>2020-06-12 11:55:10 +0700
committer Patrick Mackinlay <pmackinlay@hotmail.com>2020-06-12 11:55:10 +0700
commit19214dd8e6528e056166a37b441568a9a264b086 (patch)
tree7403411d6d536153d1df6d8923f7594ace8b9a4f /3rdparty/asmjit/test/asmjit_test_misc.h
parent7b6dbd7a1442d6a77f3b410966fdc41769e417b5 (diff)
asmjist: sync with upstream (nw)
Diffstat (limited to '3rdparty/asmjit/test/asmjit_test_misc.h')
-rw-r--r--3rdparty/asmjit/test/asmjit_test_misc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/asmjit/test/asmjit_test_misc.h b/3rdparty/asmjit/test/asmjit_test_misc.h
index be1757ab1c9..03273272d1b 100644
--- a/3rdparty/asmjit/test/asmjit_test_misc.h
+++ b/3rdparty/asmjit/test/asmjit_test_misc.h
@@ -52,7 +52,7 @@ static void generateAlphaBlend(asmjit::x86::Compiler& cc) {
Label L_LargeEnd = cc.newLabel();
Label L_DataPool = cc.newLabel();
- cc.addFunc(FuncSignatureT<void, void*, const void*, size_t>(cc.codeInfo().cdeclCallConv()));
+ cc.addFunc(FuncSignatureT<void, void*, const void*, size_t>(CallConv::kIdHost));
cc.setArg(0, dst);
cc.setArg(1, src);
@@ -177,8 +177,8 @@ static void generateAlphaBlend(asmjit::x86::Compiler& cc) {
// Data.
cc.align(kAlignData, 16);
cc.bind(L_DataPool);
- cc.dxmm(Data128::fromI16(0x0080));
- cc.dxmm(Data128::fromI16(0x0101));
+ cc.embedUInt16(uint16_t(0x0080u), 8);
+ cc.embedUInt16(uint16_t(0x0101u), 8);
}
} // {asmtest}