Home
last modified time | relevance | path

Searched refs:archId (Results 1 – 25 of 59) sorted by relevance

123

/dports/devel/asmjit/asmjit-911a9a50a2cbc9802c4d44e94b8b99e1d9285cf3/src/asmjit/core/
H A Dinst.cpp32 if (ArchInfo::isX86Family(archId)) in instIdToString()
37 if (ArchInfo::isArmFamily(archId)) in instIdToString()
46 if (ArchInfo::isX86Family(archId)) in stringToInstId()
47 return x86::InstInternal::stringToInstId(archId, s, len); in stringToInstId()
51 if (ArchInfo::isArmFamily(archId)) in stringToInstId()
66 if (ArchInfo::isX86Family(archId)) in validate()
71 if (ArchInfo::isArmFamily(archId)) in validate()
89 if (ArchInfo::isX86Family(archId)) in queryRWInfo()
94 if (ArchInfo::isArmFamily(archId)) in queryRWInfo()
109 if (ArchInfo::isX86Family(archId)) in queryFeatures()
[all …]
H A Darch.h117 inline uint32_t archId() const noexcept { return _id; } in archId() function
155 …static inline bool isX86Family(uint32_t archId) noexcept { return archId >= kIdX86 && archId <= kI… in isX86Family() argument
156 …static inline bool isArmFamily(uint32_t archId) noexcept { return archId >= kIdA32 && archId <= kI… in isArmFamily() argument
180 …ASMJIT_API static Error typeIdToRegInfo(uint32_t archId, uint32_t& typeIdInOut, RegInfo& regInfo) …
H A Dtarget.h50 …inline explicit CodeInfo(uint32_t archId, uint32_t archMode = 0, uint64_t baseAddress = Globals::k…
51 : _archInfo(archId, archMode), in _archInfo() argument
61 return _archInfo.archId() != ArchInfo::kIdNone; in isInitialized()
68 …inline void init(uint32_t archId, uint32_t archMode = 0, uint64_t baseAddress = Globals::kNoBaseAd…
69 _archInfo.init(archId, archMode);
105 inline uint32_t archId() const noexcept { return _archInfo.archId(); } in archId() function
179 inline uint32_t archId() const noexcept { return _codeInfo.archId(); } in archId() function
H A Dlogging.cpp165 uint32_t archId, in formatRegister() argument
170 if (ArchInfo::isX86Family(archId)) in formatRegister()
175 if (ArchInfo::isArmFamily(archId)) in formatRegister()
186 uint32_t archId, in formatOperand() argument
190 if (ArchInfo::isX86Family(archId)) in formatOperand()
195 if (ArchInfo::isArmFamily(archId)) in formatOperand()
206 uint32_t archId, in formatInstruction() argument
210 if (ArchInfo::isX86Family(archId)) in formatInstruction()
215 if (ArchInfo::isArmFamily(archId)) in formatInstruction()
348 cb->archId(), in formatNode()
[all …]
H A Darch.cpp56 ASMJIT_FAVOR_SIZE Error ArchUtils::typeIdToRegInfo(uint32_t archId, uint32_t& typeIdInOut, RegInfo&… in typeIdToRegInfo() argument
64 if (ArchInfo::isX86Family(archId)) { in typeIdToRegInfo()
75 typeId = (archId == ArchInfo::kIdX86) ? Type::kIdI32 : Type::kIdI64; in typeIdToRegInfo()
77 typeId = (archId == ArchInfo::kIdX86) ? Type::kIdU32 : Type::kIdU64; in typeIdToRegInfo()
109 if (archId == ArchInfo::kIdX86) in typeIdToRegInfo()
H A Dcpuinfo.h67 inline void initArch(uint32_t archId, uint32_t archMode = 0) noexcept {
68 _archInfo.init(archId, archMode);
88 inline uint32_t archId() const noexcept { return _archInfo.archId(); } in archId() function
H A Dfunc.cpp39 uint32_t gpSize = (cc.archId() == ArchInfo::kIdX86) ? 4 : 8; in init()
93 if (ArchInfo::isX86Family(archId())) in finalize()
98 if (ArchInfo::isArmFamily(archId())) in finalize()
H A Dinst.h419 ASMJIT_API Error instIdToString(uint32_t archId, uint32_t instId, String& output) noexcept;
426 ASMJIT_API uint32_t stringToInstId(uint32_t archId, const char* s, size_t len) noexcept;
431 ASMJIT_API Error validate(uint32_t archId, const BaseInst& inst, const Operand_* operands, uint32_t…
436 ASMJIT_API Error queryRWInfo(uint32_t archId, const BaseInst& inst, const Operand_* operands, uint3…
439 ASMJIT_API Error queryFeatures(uint32_t archId, const BaseInst& inst, const Operand_* operands, uin…
/dports/devel/asmjit/asmjit-911a9a50a2cbc9802c4d44e94b8b99e1d9285cf3/test/
H A Dasmjit_bench_x86.cpp63 …static void bench(CodeHolder& code, uint32_t archId, const char* testName, const FuncT& func) noex… in bench() argument
67 archId == ArchInfo::kIdX86 ? "X86" : in bench()
68 archId == ArchInfo::kIdX64 ? "X64" : "???"; in bench()
78 CodeInfo codeInfo(archId); in bench()
79 …codeInfo.setCdeclCallConv(archId == ArchInfo::kIdX86 ? CallConv::kIdX86CDecl : CallConv::kIdX86Sys… in bench()
110 static void benchX86(uint32_t archId) noexcept { in benchX86() argument
113 BenchUtils::bench<x86::Assembler>(code, archId, "[raw]", [](x86::Assembler& a) { in benchX86()
117 BenchUtils::bench<x86::Builder>(code, archId, "[raw]", [](x86::Builder& cb) { in benchX86()
121 BenchUtils::bench<x86::Builder>(code, archId, "[final]", [](x86::Builder& cb) { in benchX86()
126 BenchUtils::bench<x86::Compiler>(code, archId, "[raw]", [](x86::Compiler& cc) { in benchX86()
[all …]
H A Dasmjit_test_opcode.cpp20 uint32_t archId; member
25 static const char* archIdToString(uint32_t archId) { in archIdToString() argument
26 switch (archId) { in archIdToString()
65 archIdToString(info.archId), in main()
70 code.init(CodeInfo(info.archId)); in main()
84 if (code.archId() == ArchInfo::kIdHost) { in main()
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/jit/_disasm/
H A Ddisasm.go29 func NewDisasm(archId ArchId) (Engine, error) {
32 if archId == ARM64 {
60 archId := code.ArchId
61 t.Logf("----- %v -----", archId)
63 Show(t, archId, insn)
68 func Show(t *testing.T, archId ArchId, insn gapstone.Instruction) {
71 if archId == ARM64 && len(bytes) == 4 {
H A Dzcompile_test.go49 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
50 c.InitArchId(archId)
80 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
81 c.InitArchId(archId)
121 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
122 c.InitArchId(archId)
157 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
158 c.InitArchId(archId)
205 c.InitArchId(archId)
248 c.InitArchId(archId)
[all …]
H A Dz_test.go29 for _, archId := range []ArchId{common.AMD64, common.ARM64} {
30 asm.InitArchId(archId)
34 asm.InitArchId(archId)
/dports/devel/asmjit/asmjit-911a9a50a2cbc9802c4d44e94b8b99e1d9285cf3/src/asmjit/x86/
H A Dx86instapi_p.h22 Error instIdToString(uint32_t archId, uint32_t instId, String& output) noexcept; in ASMJIT_BEGIN_SUB_NAMESPACE()
23 uint32_t stringToInstId(uint32_t archId, const char* s, size_t len) noexcept; in ASMJIT_BEGIN_SUB_NAMESPACE()
27 Error validate(uint32_t archId, const BaseInst& inst, const Operand_* operands, uint32_t opCount) n… in ASMJIT_BEGIN_SUB_NAMESPACE()
31 Error queryRWInfo(uint32_t archId, const BaseInst& inst, const Operand_* operands, uint32_t opCount… in ASMJIT_BEGIN_SUB_NAMESPACE()
32 Error queryFeatures(uint32_t archId, const BaseInst& inst, const Operand_* operands, uint32_t opCou… in ASMJIT_BEGIN_SUB_NAMESPACE()
H A Dx86builder.cpp42 uint32_t archId = code->archId(); in onAttach() local
43 if (!ArchInfo::isX86Family(archId)) in onAttach()
48 …_gpRegInfo.setSignature(archId == ArchInfo::kIdX86 ? uint32_t(Gpd::kSignature) : uint32_t(Gpq::kSi… in onAttach()
H A Dx86compiler.cpp43 uint32_t archId = code->archId(); in onAttach() local
44 if (!ArchInfo::isX86Family(archId)) in onAttach()
48 …_gpRegInfo.setSignature(archId == ArchInfo::kIdX86 ? uint32_t(Gpd::kSignature) : uint32_t(Gpq::kSi… in onAttach()
H A Dx86logging_p.h31 uint32_t archId, in ASMJIT_BEGIN_SUB_NAMESPACE()
39 uint32_t archId, in ASMJIT_BEGIN_SUB_NAMESPACE()
46 uint32_t archId, in ASMJIT_BEGIN_SUB_NAMESPACE()
H A Dx86internal.cpp56 uint32_t archId = cc.archId(); in initFuncDetail() local
67 if (archId == ArchInfo::kIdX86) { in initFuncDetail()
114 if (archId != ArchInfo::kIdX86) in initFuncDetail()
391 uint32_t archId = func.callConv().archId(); in initWorkData() local
394 _archId = uint8_t(archId); in initWorkData()
655 uint32_t archId = func.callConv().archId(); in initFuncFrame() local
662 frame._archId = uint8_t(archId); in initFuncFrame()
1340 uint32_t archId = ctx.archId(); in dumpAssignment() local
1349 dumpFuncValue(sb, archId, dst); in dumpAssignment()
1351 dumpFuncValue(sb, archId, cur); in dumpAssignment()
[all …]
H A Dx86logging.cpp191 uint32_t archId, in formatOperand() argument
195 … return formatRegister(sb, flags, emitter, archId, op.as<BaseReg>().type(), op.as<BaseReg>().id()); in formatOperand()
224 … ASMJIT_PROPAGATE(formatRegister(sb, modifiedFlags, emitter, archId, m.baseType(), m.baseId())); in formatOperand()
233 ASMJIT_PROPAGATE(formatRegister(sb, flags, emitter, archId, m.indexType(), m.indexId())); in formatOperand()
612 …egister(String& sb, uint32_t flags, const BaseEmitter* emitter, uint32_t archId, uint32_t rType, u… in formatRegister() argument
613 ASMJIT_UNUSED(archId); in formatRegister()
669 uint32_t archId, in formatInstruction() argument
693 … ASMJIT_PROPAGATE(formatOperand(sb, flags, emitter, archId, inst.extraReg().toReg<BaseReg>())); in formatInstruction()
721 ASMJIT_PROPAGATE(InstAPI::instIdToString(archId, instId, sb)); in formatInstruction()
732 ASMJIT_PROPAGATE(formatOperand(sb, flags, emitter, archId, op)); in formatInstruction()
[all …]
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/jit/
H A Dz_test.go74 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
75 c.InitArchId(archId)
98 t.Log("compiled to", archId, actual)
105 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
106 c.InitArchId(archId)
138 t.Log("compiled to", archId, actual)
146 for _, archId := range []ArchId{asm.AMD64, asm.ARM64} {
147 c.InitArchId(archId)
170 t.Log("compiled to", archId, actual)
H A Dcomp.go45 func NewArchId(archId ArchId) *Comp {
47 return c.InitArchId(archId)
59 func (c *Comp) InitArchId(archId ArchId) *Comp {
60 return c.InitArch(Archs[archId])
/dports/sysutils/hfsexplorer/hfsexplorer-hfsexplorer-0.23.1/src/java/org/catacombae/storage/io/win32/
H A DReadableWin32FileStream.java83 ArchitectureIdentifier archId = getJVMArchitecture(); in isSystemSupported() local
85 (archId == ArchitectureIdentifier.I386 || in isSystemSupported()
86 archId == ArchitectureIdentifier.AMD64 || in isSystemSupported()
87 archId == ArchitectureIdentifier.IA64); in isSystemSupported()
95 final ArchitectureIdentifier archId = getJVMArchitecture(); in loadLibrary() local
96 if(archId == ArchitectureIdentifier.UNKNOWN) { in loadLibrary()
101 final String libName = "llio_" + archId.getArchitectureString(); in loadLibrary()
/dports/finance/kraft/kraft-0.97/src/
H A Darchiveman.cpp56 dbID archId = archiveDocumentDb( doc ); in archiveDocument() local
59 archiveDocumentXml( doc, archId.toString()); in archiveDocument()
62 return archId; in archiveDocument()
126 QDomDocument ArchiveMan::archiveDocumentXml( KraftDoc *doc, const QString& archId ) in archiveDocumentXml() argument
158 const QString filename = archiveFileName( doc->ident(), archId, "xml" ); in archiveDocumentXml()
338 QString ArchiveMan::archiveFileName( const QString& docId, const QString& archId, const QString& ex… in archiveFileName() argument
340 QString re = QString( "%1_%2.%3" ).arg( docId ).arg( archId ).arg( ext ); in archiveFileName()
/dports/lang/gomacro/gomacro-2.7-304-g2f4dc7c/jit/common/
H A Darch.go55 func (archId ArchId) String() string {
56 arch := Archs[archId]
60 return fmt.Sprintf("ArchId(%d)", uint8(archId))
H A Dasm.go52 func (asm *Asm) InitArchId(archId ArchId) *Asm {
53 return asm.InitArch2(Archs[archId], 0, 0)
56 func (asm *Asm) InitArchId2(archId ArchId, saveStart SaveSlot, saveEnd SaveSlot) *Asm {
57 return asm.InitArch2(Archs[archId], saveStart, saveEnd)

123