...
1 package x86_64
2
3 func alias_INT3(p *Program, vv ...interface{}) *Instruction {
4 if len(vv) == 0 {
5 return p.INT(3)
6 } else {
7 panic("instruction INT3 takes no operands")
8 }
9 }
10
11 func alias_VCMPEQPS(p *Program, vv ...interface{}) *Instruction {
12 if len(vv) >= 3 {
13 return p.VCMPPS(0x00, vv[0], vv[1], vv[2], vv[3:]...)
14 } else {
15 panic("instruction VCMPEQPS takes 3 or 4 operands")
16 }
17 }
18
19 func alias_VCMPTRUEPS(p *Program, vv ...interface{}) *Instruction {
20 if len(vv) >= 3 {
21 return p.VCMPPS(0x0f, vv[0], vv[1], vv[2], vv[3:]...)
22 } else {
23 panic("instruction VCMPTRUEPS takes 3 or 4 operands")
24 }
25 }
26
27 var _InstructionAliases = map[string]_InstructionEncoder {
28 "int3" : alias_INT3,
29 "retq" : Instructions["ret"],
30 "movabsq" : Instructions["movq"],
31 "vcmpeqps" : alias_VCMPEQPS,
32 "vcmptrueps" : alias_VCMPTRUEPS,
33 }
34
View as plain text