mirror of
https://github.com/golang/go
synced 2024-11-25 17:17:56 -07:00
cmd/6a, cmd/6l: add BSWAPL, BSWAPQ
R=ken2 CC=golang-dev https://golang.org/cl/6209087
This commit is contained in:
parent
85266dfd4d
commit
ed480128a6
@ -340,6 +340,8 @@ struct
|
||||
"BSRL", LTYPE3, ABSRL,
|
||||
"BSRQ", LTYPE3, ABSRQ,
|
||||
"BSRW", LTYPE3, ABSRW,
|
||||
"BSWAPL", LTYPE1, ABSWAPL,
|
||||
"BSWAPQ", LTYPE1, ABSWAPQ,
|
||||
"BTCL", LTYPE3, ABTCL,
|
||||
"BTCQ", LTYPE3, ABTCQ,
|
||||
"BTCW", LTYPE3, ABTCW,
|
||||
|
@ -743,6 +743,8 @@ enum as
|
||||
APREFETCHNTA,
|
||||
|
||||
AMOVQL,
|
||||
ABSWAPL,
|
||||
ABSWAPQ,
|
||||
|
||||
ALAST
|
||||
};
|
||||
|
@ -302,6 +302,11 @@ uchar ypopl[] =
|
||||
Ynone, Ym, Zo_m, 2,
|
||||
0
|
||||
};
|
||||
uchar ybswap[] =
|
||||
{
|
||||
Ynone, Yrl, Z_rp, 2,
|
||||
0,
|
||||
};
|
||||
uchar yscond[] =
|
||||
{
|
||||
Ynone, Ymb, Zo_m, 2,
|
||||
@ -641,6 +646,8 @@ Optab optab[] =
|
||||
{ ABSRL, yml_rl, Pm, 0xbd },
|
||||
{ ABSRQ, yml_rl, Pw, 0x0f,0xbd },
|
||||
{ ABSRW, yml_rl, Pq, 0xbd },
|
||||
{ ABSWAPL, ybswap, Px, 0x0f,0xc8 },
|
||||
{ ABSWAPQ, ybswap, Pw, 0x0f,0xc8 },
|
||||
{ ABTCL, ybtl, Pm, 0xba,(07),0xbb },
|
||||
{ ABTCQ, ybtl, Pw, 0x0f,0xba,(07),0x0f,0xbb },
|
||||
{ ABTCW, ybtl, Pq, 0xba,(07),0xbb },
|
||||
|
Loading…
Reference in New Issue
Block a user