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
"AESKEYGENASSIST", LTYPEX, AAESKEYGENASSIST,
"PSHUFD", LTYPEX, APSHUFD,
"USEFIELD", LTYPEN, AUSEFIELD,
"PCLMULQDQ", LTYPEX, APCLMULQDQ,
0
};
......
......@@ -766,6 +766,8 @@ enum as
ANPTRS,
APTRS,
APCLMULQDQ,
ALAST
};
......
......@@ -1344,6 +1344,8 @@ Optab optab[] =
{ ANPTRS },
{ APTRS },
{ APCLMULQDQ, yxshuf, Pq, 0x3a,0x44,0 },
{ AEND },
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