Commit 6bea504b authored by Adam Langley's avatar Adam Langley

cmd/6a, cmd/6l: add PCLMULQDQ instruction.

This Intel instruction implements multiplication in binary fields.

R=golang-dev, minux.ma, dave, rsc
CC=golang-dev
https://golang.org/cl/10428043
parent a00958aa
...@@ -1019,6 +1019,7 @@ struct ...@@ -1019,6 +1019,7 @@ struct
"AESKEYGENASSIST", LTYPEX, AAESKEYGENASSIST, "AESKEYGENASSIST", LTYPEX, AAESKEYGENASSIST,
"PSHUFD", LTYPEX, APSHUFD, "PSHUFD", LTYPEX, APSHUFD,
"USEFIELD", LTYPEN, AUSEFIELD, "USEFIELD", LTYPEN, AUSEFIELD,
"PCLMULQDQ", LTYPEX, APCLMULQDQ,
0 0
}; };
......
...@@ -766,6 +766,8 @@ enum as ...@@ -766,6 +766,8 @@ enum as
ANPTRS, ANPTRS,
APTRS, APTRS,
APCLMULQDQ,
ALAST ALAST
}; };
......
...@@ -1344,6 +1344,8 @@ Optab optab[] = ...@@ -1344,6 +1344,8 @@ Optab optab[] =
{ ANPTRS }, { ANPTRS },
{ APTRS }, { APTRS },
{ APCLMULQDQ, yxshuf, Pq, 0x3a,0x44,0 },
{ AEND }, { AEND },
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