mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 12:34:35 +03:00
AsmJit cleanup and refactoring
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user