Commit aaac05ae authored by Darren Elwood's avatar Darren Elwood Committed by Russ Cox

8a, 8l: add LFENCE, MFENCE, SFENCE

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5650076
parent 0ae43126
...@@ -663,6 +663,9 @@ struct ...@@ -663,6 +663,9 @@ struct
"FXTRACT", LTYPE0, AFXTRACT, "FXTRACT", LTYPE0, AFXTRACT,
"FYL2X", LTYPE0, AFYL2X, "FYL2X", LTYPE0, AFYL2X,
"FYL2XP1", LTYPE0, AFYL2XP1, "FYL2XP1", LTYPE0, AFYL2XP1,
"LFENCE", LTYPE0, ALFENCE,
"MFENCE", LTYPE0, AMFENCE,
"SFENCE", LTYPE0, ASFENCE,
0 0
}; };
......
...@@ -445,6 +445,10 @@ enum as ...@@ -445,6 +445,10 @@ enum as
AFCMOVNU, AFCMOVNU,
AFCMOVUN, AFCMOVUN,
ALFENCE,
AMFENCE,
ASFENCE,
ALAST ALAST
}; };
......
...@@ -755,5 +755,9 @@ Optab optab[] = ...@@ -755,5 +755,9 @@ Optab optab[] =
{ AFCMOVNU, yfcmv, Px, 0xdb,(03) }, { AFCMOVNU, yfcmv, Px, 0xdb,(03) },
{ AFCMOVUN, yfcmv, Px, 0xda,(03) }, { AFCMOVUN, yfcmv, Px, 0xda,(03) },
{ ALFENCE, ynone, Pm, 0xae,0xe8 },
{ AMFENCE, ynone, Pm, 0xae,0xf0 },
{ ASFENCE, ynone, Pm, 0xae,0xf8 },
0 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