Commit 5107aa82 authored by Evan Shaw's avatar Evan Shaw Committed by Russ Cox

8a, 8l: Add FCOMI, FCOMIP, FUCOMI, FUCOMIP instructions

Fixes #447

R=rsc
CC=golang-dev
https://golang.org/cl/183047
parent 32594bd4
......@@ -568,11 +568,15 @@ struct
"FCOMDPP", LTYPE3, AFCOMDPP,
"FCOMF", LTYPE3, AFCOMF,
"FCOMFP", LTYPE3, AFCOMFP,
"FCOMI", LTYPE3, AFCOMI,
"FCOMIP", LTYPE3, AFCOMIP,
"FCOML", LTYPE3, AFCOML,
"FCOMLP", LTYPE3, AFCOMLP,
"FCOMW", LTYPE3, AFCOMW,
"FCOMWP", LTYPE3, AFCOMWP,
"FUCOM", LTYPE3, AFUCOM,
"FUCOMI", LTYPE3, AFUCOMI,
"FUCOMIP", LTYPE3, AFUCOMIP,
"FUCOMP", LTYPE3, AFUCOMP,
"FUCOMPP", LTYPE3, AFUCOMPP,
"FADDW", LTYPE3, AFADDW,
......
......@@ -291,11 +291,15 @@ enum as
AFCOMDPP,
AFCOMF,
AFCOMFP,
AFCOMI,
AFCOMIP,
AFCOML,
AFCOMLP,
AFCOMW,
AFCOMWP,
AFUCOM,
AFUCOMI,
AFUCOMIP,
AFUCOMP,
AFUCOMPP,
......
......@@ -602,13 +602,17 @@ Optab optab[] =
{ AFCOMDPP, ycompp, Px, 0xde,(03) },
{ AFCOMF, yfmvx, Px, 0xd8,(02) },
{ AFCOMFP, yfmvx, Px, 0xd8,(03) },
{ AFCOMI, yfmvx, Px, 0xdb,(06) },
{ AFCOMIP, yfmvx, Px, 0xdf,(06) },
{ AFCOML, yfmvx, Px, 0xda,(02) },
{ AFCOMLP, yfmvx, Px, 0xda,(03) },
{ AFCOMW, yfmvx, Px, 0xde,(02) },
{ AFCOMWP, yfmvx, Px, 0xde,(03) },
{ AFUCOM, ycompp, Px, 0xdd,(04) },
{ AFUCOMP, ycompp, Px, 0xdd,(05) },
{ AFUCOMI, ycompp, Px, 0xdb,(05) },
{ AFUCOMIP, ycompp, Px, 0xdf,(05) },
{ AFUCOMP, ycompp, Px, 0xdd,(05) },
{ AFUCOMPP, ycompp, Px, 0xda,(13) },
{ AFADDDP, yfaddp, Px, 0xde,(00) },
......
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