Commit c4ea1c95 authored by Russ Cox's avatar Russ Cox

cmd/8a, cmd/8l: add BSWAPL

R=ken2
CC=golang-dev
https://golang.org/cl/6208093
parent ed480128
......@@ -271,6 +271,7 @@ struct
"BSFW", LTYPE3, ABSFW,
"BSRL", LTYPE3, ABSRL,
"BSRW", LTYPE3, ABSRW,
"BSWAPL", LTYPE1, ABSWAPL,
"BTCL", LTYPE3, ABTCL,
"BTCW", LTYPE3, ABTCW,
"BTL", LTYPE3, ABTL,
......
......@@ -456,6 +456,8 @@ enum as
APREFETCHT1,
APREFETCHT2,
APREFETCHNTA,
ABSWAPL,
ALAST
};
......
......@@ -242,6 +242,11 @@ uchar ypopl[] =
Ynone, Ym, Zo_m, 2,
0
};
uchar ybswap[] =
{
Ynone, Yrl, Z_rp, 1,
0,
};
uchar yscond[] =
{
Ynone, Ymb, Zo_m, 2,
......@@ -771,5 +776,7 @@ Optab optab[] =
{ APREFETCHT2, yprefetch, Pm, 0x18,(03) },
{ APREFETCHNTA, yprefetch, Pm, 0x18,(00) },
{ ABSWAPL, ybswap, Pm, 0xc8 },
0
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment