3 Amd64Op amd64_op
[NOp
] = {
4 #define O(op, t, x) [O##op] =
5 #define X(nm, zf, lf) { nm, zf, lf, },
12 return amd64_op
[op
].nmem
;
15 #define AMD64_COMMON \
20 .rglob = BIT(RBP) | BIT(RSP), \
22 .rsave = amd64_sysv_rsave, \
23 .nrsave = {NGPS, NFPS}, \
24 .retregs = amd64_sysv_retregs, \
25 .argregs = amd64_sysv_argregs, \
26 .memargs = amd64_memargs, \
28 .abi1 = amd64_sysv_abi, \
30 .emitfn = amd64_emitfn, \
32 Target T_amd64_sysv = {
34 .emitfin
= elf_emitfin
,
39 Target T_amd64_apple
= {
40 .name
= "amd64_apple",
42 .emitfin
= macho_emitfin
,