Home
last modified time | relevance | path

Searched refs:ModRm (Results 1 – 20 of 20) sorted by relevance

/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/play/src/
H A DX86Assembler_Fpu.cpp6 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FldEd()
12 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FildEd()
18 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FstpEd()
24 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FistpEd()
30 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FisttpEd()
67 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FnstcwEw()
73 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FldcwEw()
80 address.ModRm.nMod = 3; in WriteStOp()
81 address.ModRm.nFnReg = subOpcode; in WriteStOp()
82 address.ModRm.nRM = stackId; in WriteStOp()
[all …]
H A DX86Assembler.cpp172 Address.ModRm.nMod = 3; in MakeRegisterAddress()
173 Address.ModRm.nRM = nRegister; in MakeRegisterAddress()
209 address.ModRm.nMod = 0; in MakeIndRegAddress()
239 Address.ModRm.nMod = 1; in MakeIndRegOffAddress()
244 Address.ModRm.nMod = 2; in MakeIndRegOffAddress()
248 Address.ModRm.nRM = nRegister; in MakeIndRegOffAddress()
256 address.ModRm.nRM = 4; in MakeBaseIndexScaleAddress()
1078 ModRm.nByte = 0; in CAddress()
1093 if(ModRm.nMod == 1) in Write()
1097 else if(ModRm.nMod == 2) in Write()
[all …]
H A DX86Assembler_Sse.cpp406 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp()
417 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_0F()
429 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F()
443 newAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F_64b()
456 newAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F_38()
468 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_F3_0F()
479 address.ModRm.nFnReg = subOpcode; in WriteVrOp_66_0F()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/CodeGen/src/
H A DX86Assembler_Fpu.cpp6 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FldEd()
12 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FildEd()
18 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FstpEd()
24 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FistpEd()
30 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FisttpEd()
67 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FnstcwEw()
73 if(address.ModRm.nMod == 3) throw std::runtime_error("Invalid address mod."); in FldcwEw()
80 address.ModRm.nMod = 3; in WriteStOp()
81 address.ModRm.nFnReg = subOpcode; in WriteStOp()
82 address.ModRm.nRM = stackId; in WriteStOp()
[all …]
H A DX86Assembler.cpp171 Address.ModRm.nMod = 3; in MakeRegisterAddress()
222 address.ModRm.nMod = 0; in MakeIndRegAddress()
264 Address.ModRm.nMod = 1; in MakeIndRegOffAddress()
269 Address.ModRm.nMod = 2; in MakeIndRegOffAddress()
294 address.ModRm.nRM = 4; in MakeBaseIndexScaleAddress()
343 address.ModRm.nRM = 4; in MakeBaseOffIndexScaleAddress()
394 address.ModRm.nMod = 0; in MakeLiteral128Address()
395 address.ModRm.nRM = 5; in MakeLiteral128Address()
1341 ModRm.nByte = 0; in CAddress()
1357 if(ModRm.nMod == 1) in Write()
[all …]
H A DX86Assembler_Sse.cpp434 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp()
445 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_0F()
457 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F()
471 newAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F_64b()
484 newAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F_38()
488 if(address.ModRm.nByte == 0x05) in WriteEdVdOp_66_0F_38()
509 newAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_66_0F_3A()
521 NewAddress.ModRm.nFnReg = registerId; in WriteEdVdOp_F3_0F()
532 address.ModRm.nFnReg = subOpcode; in WriteVrOp_66_0F()
H A DX86Assembler_Avx.cpp55 newAddress.ModRm.nFnReg = dst; in WriteVexVoOp()
58 if(src2.ModRm.nByte == 0x05) in WriteVexVoOp()
76 address.ModRm.nFnReg = subOp; in WriteVexShiftVoOp()
/dports/emulators/qemu60/qemu-6.0.0/roms/edk2/OvmfPkg/Library/VmgExitLib/
H A DVmgExitVcHandler.c73 SEV_ES_INSTRUCTION_MODRM_EXT ModRm; member
105 INSTRUCTION_MODRM ModRm; member
314 (Ext->ModRm.Mod == 0) && in IsRipRelative()
315 (Ext->ModRm.Rm == 5) && in IsRipRelative()
360 switch (Ext->ModRm.Mod) { in GetEffectiveMemoryAddress()
433 ModRm = &InstructionData->ModRm; in DecodeModRm()
443 Ext->ModRm.Mod = ModRm->Bits.Mod; in DecodeModRm()
444 Ext->ModRm.Reg = (RexPrefix->Bits.BitR << 3) | ModRm->Bits.Reg; in DecodeModRm()
445 Ext->ModRm.Rm = (RexPrefix->Bits.BitB << 3) | ModRm->Bits.Rm; in DecodeModRm()
449 if (Ext->ModRm.Mod == 3) { in DecodeModRm()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/edk2/OvmfPkg/Library/VmgExitLib/
H A DVmgExitVcHandler.c73 SEV_ES_INSTRUCTION_MODRM_EXT ModRm; member
105 INSTRUCTION_MODRM ModRm; member
314 (Ext->ModRm.Mod == 0) && in IsRipRelative()
315 (Ext->ModRm.Rm == 5) && in IsRipRelative()
360 switch (Ext->ModRm.Mod) { in GetEffectiveMemoryAddress()
433 ModRm = &InstructionData->ModRm; in DecodeModRm()
443 Ext->ModRm.Mod = ModRm->Bits.Mod; in DecodeModRm()
444 Ext->ModRm.Reg = (RexPrefix->Bits.BitR << 3) | ModRm->Bits.Reg; in DecodeModRm()
445 Ext->ModRm.Rm = (RexPrefix->Bits.BitB << 3) | ModRm->Bits.Rm; in DecodeModRm()
449 if (Ext->ModRm.Mod == 3) { in DecodeModRm()
[all …]
/dports/sysutils/uefi-edk2-bhyve/edk2-edk2-stable202102/OvmfPkg/Library/VmgExitLib/
H A DVmgExitVcHandler.c77 SEV_ES_INSTRUCTION_MODRM_EXT ModRm; member
109 INSTRUCTION_MODRM ModRm; member
253 (Ext->ModRm.Mod == 0) && in IsRipRelative()
254 (Ext->ModRm.Rm == 5) && in IsRipRelative()
299 switch (Ext->ModRm.Mod) { in GetEffectiveMemoryAddress()
372 ModRm = &InstructionData->ModRm; in DecodeModRm()
382 Ext->ModRm.Mod = ModRm->Bits.Mod; in DecodeModRm()
383 Ext->ModRm.Reg = (RexPrefix->Bits.BitR << 3) | ModRm->Bits.Reg; in DecodeModRm()
384 Ext->ModRm.Rm = (RexPrefix->Bits.BitB << 3) | ModRm->Bits.Rm; in DecodeModRm()
388 if (Ext->ModRm.Mod == 3) { in DecodeModRm()
[all …]
/dports/emulators/qemu/qemu-6.2.0/roms/edk2/OvmfPkg/Library/VmgExitLib/
H A DVmgExitVcHandler.c73 SEV_ES_INSTRUCTION_MODRM_EXT ModRm; member
105 INSTRUCTION_MODRM ModRm; member
314 (Ext->ModRm.Mod == 0) && in IsRipRelative()
315 (Ext->ModRm.Rm == 5) && in IsRipRelative()
360 switch (Ext->ModRm.Mod) { in GetEffectiveMemoryAddress()
433 ModRm = &InstructionData->ModRm; in DecodeModRm()
443 Ext->ModRm.Mod = ModRm->Bits.Mod; in DecodeModRm()
444 Ext->ModRm.Reg = (RexPrefix->Bits.BitR << 3) | ModRm->Bits.Reg; in DecodeModRm()
445 Ext->ModRm.Rm = (RexPrefix->Bits.BitB << 3) | ModRm->Bits.Rm; in DecodeModRm()
449 if (Ext->ModRm.Mod == 3) { in DecodeModRm()
[all …]
/dports/sysutils/edk2/edk2-edk2-stable202102/OvmfPkg/Library/VmgExitLib/
H A DVmgExitVcHandler.c77 SEV_ES_INSTRUCTION_MODRM_EXT ModRm; member
109 INSTRUCTION_MODRM ModRm; member
253 (Ext->ModRm.Mod == 0) && in IsRipRelative()
254 (Ext->ModRm.Rm == 5) && in IsRipRelative()
299 switch (Ext->ModRm.Mod) { in GetEffectiveMemoryAddress()
372 ModRm = &InstructionData->ModRm; in DecodeModRm()
382 Ext->ModRm.Mod = ModRm->Bits.Mod; in DecodeModRm()
383 Ext->ModRm.Reg = (RexPrefix->Bits.BitR << 3) | ModRm->Bits.Reg; in DecodeModRm()
384 Ext->ModRm.Rm = (RexPrefix->Bits.BitB << 3) | ModRm->Bits.Rm; in DecodeModRm()
388 if (Ext->ModRm.Mod == 3) { in DecodeModRm()
[all …]
/dports/devel/llvm80/llvm-8.0.1.src/tools/lld/ELF/Arch/
H A DX86_64.cpp51 uint8_t ModRm) const;
367 const uint8_t ModRm = Data[-1]; in adjustRelaxExpr() local
377 if (Op == 0xff && (ModRm == 0x15 || ModRm == 0x25)) in adjustRelaxExpr()
395 uint8_t ModRm) const { in relaxGotNoPic()
415 Loc[-1] = 0xc0 | (ModRm & 0x38) >> 3; // ModR/M byte. in relaxGotNoPic()
443 Loc[-1] = 0xc0 | (ModRm & 0x38) >> 3 | (Op & 0x3c); // ModR/M byte. in relaxGotNoPic()
460 const uint8_t ModRm = Loc[-1]; in relaxGot() local
473 relaxGotNoPic(Loc, Val + 4, Op, ModRm); in relaxGot()
478 if (ModRm == 0x15) { in relaxGot()
490 assert(ModRm == 0x25); in relaxGot()
/dports/devel/llvm70/llvm-7.0.1.src/tools/lld/ELF/Arch/
H A DX86_64.cpp51 uint8_t ModRm) const;
345 const uint8_t ModRm = Data[-1]; in adjustRelaxExpr() local
355 if (Op == 0xff && (ModRm == 0x15 || ModRm == 0x25)) in adjustRelaxExpr()
373 uint8_t ModRm) const { in relaxGotNoPic()
393 Loc[-1] = 0xc0 | (ModRm & 0x38) >> 3; // ModR/M byte. in relaxGotNoPic()
421 Loc[-1] = 0xc0 | (ModRm & 0x38) >> 3 | (Op & 0x3c); // ModR/M byte. in relaxGotNoPic()
438 const uint8_t ModRm = Loc[-1]; in relaxGot() local
451 relaxGotNoPic(Loc, Val + 4, Op, ModRm); in relaxGot()
456 if (ModRm == 0x15) { in relaxGot()
468 assert(ModRm == 0x25); in relaxGot()
/dports/games/libretro-yabause/yabause-ea5b118/yabause/src/play/include/
H A DX86Assembler.h85 MODRMBYTE ModRm; variable
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/deps/CodeGen/include/
H A DX86Assembler.h99 MODRMBYTE ModRm; variable
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/
H A DChangeLog-2009-06-1616870 ModRm bytes of an instruction in a single call; this can insert the REX byte as necessary
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/
H A DChangeLog-2009-06-1616870 ModRm bytes of an instruction in a single call; this can insert the REX byte as necessary
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/
H A DChangeLog-2009-06-1616870 ModRm bytes of an instruction in a single call; this can insert the REX byte as necessary
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/
H A DChangeLog-2009-06-1616870 ModRm bytes of an instruction in a single call; this can insert the REX byte as necessary