1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:54:39 -07:00

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

Fixes #447

R=rsc
CC=golang-dev
https://golang.org/cl/183047
This commit is contained in:
Evan Shaw 2010-01-05 17:06:41 -08:00 committed by Russ Cox
parent 32594bd43d
commit 5107aa82a1
3 changed files with 13 additions and 1 deletions

View File

@ -568,11 +568,15 @@ struct
"FCOMDPP", LTYPE3, AFCOMDPP, "FCOMDPP", LTYPE3, AFCOMDPP,
"FCOMF", LTYPE3, AFCOMF, "FCOMF", LTYPE3, AFCOMF,
"FCOMFP", LTYPE3, AFCOMFP, "FCOMFP", LTYPE3, AFCOMFP,
"FCOMI", LTYPE3, AFCOMI,
"FCOMIP", LTYPE3, AFCOMIP,
"FCOML", LTYPE3, AFCOML, "FCOML", LTYPE3, AFCOML,
"FCOMLP", LTYPE3, AFCOMLP, "FCOMLP", LTYPE3, AFCOMLP,
"FCOMW", LTYPE3, AFCOMW, "FCOMW", LTYPE3, AFCOMW,
"FCOMWP", LTYPE3, AFCOMWP, "FCOMWP", LTYPE3, AFCOMWP,
"FUCOM", LTYPE3, AFUCOM, "FUCOM", LTYPE3, AFUCOM,
"FUCOMI", LTYPE3, AFUCOMI,
"FUCOMIP", LTYPE3, AFUCOMIP,
"FUCOMP", LTYPE3, AFUCOMP, "FUCOMP", LTYPE3, AFUCOMP,
"FUCOMPP", LTYPE3, AFUCOMPP, "FUCOMPP", LTYPE3, AFUCOMPP,
"FADDW", LTYPE3, AFADDW, "FADDW", LTYPE3, AFADDW,

View File

@ -291,11 +291,15 @@ enum as
AFCOMDPP, AFCOMDPP,
AFCOMF, AFCOMF,
AFCOMFP, AFCOMFP,
AFCOMI,
AFCOMIP,
AFCOML, AFCOML,
AFCOMLP, AFCOMLP,
AFCOMW, AFCOMW,
AFCOMWP, AFCOMWP,
AFUCOM, AFUCOM,
AFUCOMI,
AFUCOMIP,
AFUCOMP, AFUCOMP,
AFUCOMPP, AFUCOMPP,

View File

@ -602,13 +602,17 @@ Optab optab[] =
{ AFCOMDPP, ycompp, Px, 0xde,(03) }, { AFCOMDPP, ycompp, Px, 0xde,(03) },
{ AFCOMF, yfmvx, Px, 0xd8,(02) }, { AFCOMF, yfmvx, Px, 0xd8,(02) },
{ AFCOMFP, yfmvx, Px, 0xd8,(03) }, { AFCOMFP, yfmvx, Px, 0xd8,(03) },
{ AFCOMI, yfmvx, Px, 0xdb,(06) },
{ AFCOMIP, yfmvx, Px, 0xdf,(06) },
{ AFCOML, yfmvx, Px, 0xda,(02) }, { AFCOML, yfmvx, Px, 0xda,(02) },
{ AFCOMLP, yfmvx, Px, 0xda,(03) }, { AFCOMLP, yfmvx, Px, 0xda,(03) },
{ AFCOMW, yfmvx, Px, 0xde,(02) }, { AFCOMW, yfmvx, Px, 0xde,(02) },
{ AFCOMWP, yfmvx, Px, 0xde,(03) }, { AFCOMWP, yfmvx, Px, 0xde,(03) },
{ AFUCOM, ycompp, Px, 0xdd,(04) }, { 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) }, { AFUCOMPP, ycompp, Px, 0xda,(13) },
{ AFADDDP, yfaddp, Px, 0xde,(00) }, { AFADDDP, yfaddp, Px, 0xde,(00) },