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z,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0
-25/15=fctidz,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0
-29/15=fctiduz,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,0
+fsqrts,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,CR1
+fres,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,CR1
+frsqrtes,2P,EXTRA3,TODO,0,0,0,0,FRB,0,FRT,0,CR1
insn,Ptype,Etype,0,1,2,3,in1,in2,in3,out,CR in,CR out
mtcrf/mtocrf,2P,EXTRA2,d:CR,s:RS,s:CR,0,RS,0,0,0,WHOLE_REG,WHOLE_REG
-5/0=ftsqrt,2P,EXTRA2,TODO,0,0,0,0,FRB,0,0,0,1
-22/7=mtfsf,2P,EXTRA2,TODO,0,0,0,0,FRB,0,0,0,0
opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry out,ldst len,BR,sgn ext,upd,rsrv,32b,sgn,rc,lk,sgl pipe,comment,form
-0b0010,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fdiv,
-0b0100,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsub,
-0b0101,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fadd,
-0b0110,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsqrt,
-0b0111,FPU,OP_FPOP,FRA,FRB,FRC,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fsel,
-0b1000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0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O,0,NONE,0,0,0,0,0,0,RC,0,0,fmul,
+0b1010,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,frsqrte,
+0b1100,FPU,OP_FPOP,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fmsub,
+0b1101,FPU,OP_FPOP,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fmadd,
+0b1110,FPU,OP_FPOP,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fnmsub,
+0b1111,FPU,OP_FPOP,FRA,FRB,FRC,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,fnmadd,
opcode,unit,internal op,in1,in2,in3,out,CR in,CR out,inv A,inv out,cry in,cry out,ldst len,BR,sgn ext,upd,rsrv,32b,sgn,rc,lk,sgl pipe,comment,form
-0b000000000,FPU,OP_FPOP,FRA,FRB,NONE,NONE,0,1,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,0/0=fcmpu,
-0b000000001,FPU,OP_FPOP,FRA,FRB,NONE,NONE,0,1,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,1/0=fcmpo,
-0b000000010,FPU,OP_FPOP,NONE,NONE,NONE,NONE,0,1,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,2/0=mcrfs,
-0b000000100,FPU,OP_FPOP,FRA,FRB,NONE,NONE,0,1,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,4/0=ftdiv,
-0b000000101,FPU,OP_FPOP,NONE,FRB,NONE,NONE,0,1,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,5/0=ftsqrt,
-0b011000001,FPU,OP_FPOP,NONE,NONE,NONE,NONE,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,1/6=mtfsb1,
-0b011000010,FPU,OP_FPOP,NONE,NONE,NONE,NONE,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,2/6=mtfsb0,
-0b011000100,FPU,OP_FPOP,NONE,NONE,NONE,NONE,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/6=mtfsfi,
+0b000000000,FPU,OP_FPOP,FRA,FRB,NONE,NONE,NONE,BF,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,0/0=fcmpu,
+0b000000001,FPU,OP_FPOP,FRA,FRB,NONE,NONE,NONE,BF,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,1/0=fcmpo,
+0b000000010,FPU,OP_FPOP,NONE,NONE,NONE,NONE,NONE,BF,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,2/0=mcrfs,
+0b000000100,FPU,OP_FPOP,FRA,FRB,NONE,NONE,NONE,BF,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,4/0=ftdiv,
+0b000000101,FPU,OP_FPOP,NONE,FRB,NONE,NONE,NONE,BF,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,5/0=ftsqrt,
+0b011000001,FPU,OP_FPOP,NONE,NONE,NONE,NONE,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,1/6=mtfsb1,
+0b011000010,FPU,OP_FPOP,NONE,NONE,NONE,NONE,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,2/6=mtfsb0,
+0b011000100,FPU,OP_FPOP,NONE,NONE,NONE,NONE,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/6=mtfsfi,
0b011011010,FPU,OP_FPOP_I,FRA,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,26/6=fmrgow,
0b011011110,FPU,OP_FPOP_I,FRA,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,NONE,0,0,30/6=fmrgew,
-0b011110010,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,18/7=mffsfamily,
-0b011110110,FPU,OP_FPOP_I,NONE,FRB,NONE,NONE,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,22/7=mtfsf,
-0b100000000,FPU,OP_FPOP,FRA,FRB,NONE,FRT,0,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/8=fcpsgn,
-0b100000001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,1/8=fneg,
-0b100000010,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,2/8=fmr,
-0b100000100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/8=fnabs,
-0b100001000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,8/8=fabs,
-0b100001100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,12/8=frin,
-0b100001101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,13/8=friz,
-0b100001110,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,14/8=frip,
-0b100001111,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,15/8=frim,
-0b110000000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,0/12=frsp,
-0b111000000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/14=fctiw,
-0b111000100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/14=fctiwu,
-0b111011001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,25/14=fctid,
-0b111011010,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,26/14=fcfid,
-0b111011101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,29/14=fctidu,
-0b111011110,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,30/14=fcfidu,
-0b111100000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/15=fctiwz,
-0b111100100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/15=fctiwuz,
-0b111111001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,25/15=fctidz,
-0b111111101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,0,0,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,29/15=fctiduz,
+0b011110010,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,18/7=mffsfamily,
+0b011110110,FPU,OP_FPOP_I,NONE,FRB,NONE,NONE,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,22/7=mtfsf,
+0b100000000,FPU,OP_FPOP,FRA,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/8=fcpsgn,
+0b100000001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,1/8=fneg,
+0b100000010,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,2/8=fmr,
+0b100000100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/8=fnabs,
+0b100001000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,8/8=fabs,
+0b100001100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,12/8=frin,
+0b100001101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,13/8=friz,
+0b100001110,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,14/8=frip,
+0b100001111,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,15/8=frim,
+0b110000000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,1,0,RC,0,0,0/12=frsp,
+0b111000000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/14=fctiw,
+0b111000100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/14=fctiwu,
+0b111011001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,25/14=fctid,
+0b111011010,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,26/14=fcfid,
+0b111011101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,29/14=fctidu,
+0b111011110,FPU,OP_FPOP_I,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,30/14=fcfidu,
+0b111100000,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,0/15=fctiwz,
+0b111100100,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,4/15=fctiwuz,
+0b111111001,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,25/15=fctidz,
+0b111111101,FPU,OP_FPOP,NONE,FRB,NONE,FRT,NONE,CR1,0,0,ZERO,0,NONE,0,0,0,0,0,0,RC,0,0,29/15=fctiduz,
LDST-3R-1W | LDSTRM-2P-2S1D |
| non-SV |
imm | non-SV |
+CRo | - |
CRio | RM-2P-1S1D |
CR=2R1W | RM-1P-2S1D |
1W | non-SV |
1R | non-SV |
1R-imm | non-SV |
1R-CRo | RM-2P-1S1D |
+1R-CRo | RM-2P-1S1D |
1R-CRio | RM-2P-2S1D |
1R-1W | RM-2P-1S1D |
1R-1W-imm | RM-2P-1S1D |
1R-1W-CRio | RM-2P-1S1D |
2R | non-SV |
2R-CRo | RM-1P-2S1D |
-2R-CRio | RM-1P-2S1D |
2R-1W | RM-1P-2S1D |
2R-1W-CRo | RM-1P-2S1D |
2R-1W-CRo | RM-1P-2S1D |
2R-1W-CRi | RM-1P-3S1D |
2R-1W-CRio | RM-1P-2S1D |
+3R-1W-CRo | - |
3R-1W-CRio | RM-1P-3S1D |
"""]]
LDST | 3 | 1 | 0 | 0 | | | LDST-3R-1W |
OTHER | 0 | 0 | 0 | 0 | | | |
OTHER | 0 | 0 | 0 | 0 | 1 | LI | imm |
+OTHER | 0 | 0 | 0 | 1 | | | CRo |
OTHER | 0 | 0 | 1 | 1 | | | CRio |
OTHER | 0 | 0 | 1 | 1 | 1 | | | CR=2R1W |
OTHER | 0 | 1 | 0 | 0 | | | 1W |
OTHER | 0 | 1 | 1 | 0 | | | 1W-CRi |
OTHER | 1 | 0 | 0 | 0 | | | 1R |
OTHER | 1 | 0 | 0 | 0 | 1 | SI | 1R-imm |
+OTHER | 1 | 0 | 0 | 1 | | | 1R-CRo |
OTHER | 1 | 0 | 0 | 1 | 1 | SI/UI | 1R-CRo |
OTHER | 1 | 0 | 1 | 1 | | | 1R-CRio |
OTHER | 1 | 1 | 0 | 0 | | | 1R-1W |
OTHER | 1 | 1 | 1 | 1 | | | 1R-1W-CRio |
OTHER | 2 | 0 | 0 | 0 | | | 2R |
OTHER | 2 | 0 | 0 | 1 | | | 2R-CRo |
-OTHER | 2 | 0 | 1 | 1 | | | 2R-CRio |
OTHER | 2 | 1 | 0 | 0 | | | 2R-1W |
OTHER | 2 | 1 | 0 | 1 | | | 2R-1W-CRo |
OTHER | 2 | 1 | 0 | 1 | 1 | SH/SH32 | 2R-1W-CRo |
OTHER | 2 | 1 | 1 | 0 | | | 2R-1W-CRi |
OTHER | 2 | 1 | 1 | 1 | | | 2R-1W-CRio |
+OTHER | 3 | 1 | 0 | 1 | | | 3R-1W-CRo |
OTHER | 3 | 1 | 1 | 1 | | | 3R-1W-CRio |
"""]]
major.csv | 18 | b | I-Form |
"""]]
-## CRio (RM-2P-1S1D)
+## CRo (-)
[[!table data="""
CSV | opcode | asm | form |
-minor_19.csv | 0b0000000000 | mcrf | XL-Form |
minor_63l.csv | 0b000000010 | 2/0=mcrfs | -Form |
minor_63l.csv | 0b011000001 | 1/6=mtfsb1 | -Form |
minor_63l.csv | 0b011000010 | 2/6=mtfsb0 | -Form |
minor_63l.csv | 0b011000100 | 4/6=mtfsfi | -Form |
"""]]
+## CRio (RM-2P-1S1D)
+
+[[!table data="""
+CSV | opcode | asm | form |
+minor_19.csv | 0b0000000000 | mcrf | XL-Form |
+"""]]
+
## CR=2R1W (RM-1P-2S1D)
[[!table data="""
## 1R-CRo (RM-2P-1S1D)
+[[!table data="""
+CSV | opcode | asm | form |
+minor_63l.csv | 0b000000101 | 5/0=ftsqrt | -Form |
+minor_63l.csv | 0b011110110 | 22/7=mtfsf | -Form |
+"""]]
+
+## 1R-CRo (RM-2P-1S1D)
+
[[!table data="""
CSV | opcode | asm | form |
major.csv | 10 | cmpli | D-Form |
[[!table data="""
CSV | opcode | asm | form |
minor_31.csv | 0b0010010000 | mtcrf/mtocrf | XFX-Form |
-minor_63l.csv | 0b000000101 | 5/0=ftsqrt | -Form |
-minor_63l.csv | 0b011110110 | 22/7=mtfsf | -Form |
"""]]
## 1R-1W (RM-2P-1S1D)
minor_31.csv | 0b1110011010 | extsh | X-Form |
minor_31.csv | 0b1110111010 | extsb | X-Form |
minor_31.csv | 0b1111011010 | extsw | X-Form |
+minor_63h.csv | 0b0110 | fsqrt | -Form |
+minor_63h.csv | 0b1000 | fre | -Form |
+minor_63h.csv | 0b1010 | frsqrte | -Form |
+minor_63l.csv | 0b011110010 | 18/7=mffsfamily | -Form |
+minor_63l.csv | 0b100000001 | 1/8=fneg | -Form |
+minor_63l.csv | 0b100000010 | 2/8=fmr | -Form |
+minor_63l.csv | 0b100000100 | 4/8=fnabs | -Form |
+minor_63l.csv | 0b100001000 | 8/8=fabs | -Form |
+minor_63l.csv | 0b100001100 | 12/8=frin | -Form |
+minor_63l.csv | 0b100001101 | 13/8=friz | -Form |
+minor_63l.csv | 0b100001110 | 14/8=frip | -Form |
+minor_63l.csv | 0b100001111 | 15/8=frim | -Form |
+minor_63l.csv | 0b110000000 | 0/12=frsp | -Form |
+minor_63l.csv | 0b111000000 | 0/14=fctiw | -Form |
+minor_63l.csv | 0b111000100 | 4/14=fctiwu | -Form |
+minor_63l.csv | 0b111011001 | 25/14=fctid | -Form |
+minor_63l.csv | 0b111011010 | 26/14=fcfid | -Form |
+minor_63l.csv | 0b111011101 | 29/14=fctidu | -Form |
+minor_63l.csv | 0b111011110 | 30/14=fcfidu | -Form |
+minor_63l.csv | 0b111100000 | 0/15=fctiwz | -Form |
+minor_63l.csv | 0b111100100 | 4/15=fctiwuz | -Form |
+minor_63l.csv | 0b111111001 | 25/15=fctidz | -Form |
+minor_63l.csv | 0b111111101 | 29/15=fctiduz | -Form |
"""]]
## 1R-1W-CRo (RM-2P-1S1D)
minor_59.csv | 0b10110 | fsqrts | -Form |
minor_59.csv | 0b11000 | fres | -Form |
minor_59.csv | 0b11010 | frsqrtes | -Form |
-minor_63h.csv | 0b0110 | fsqrt | -Form |
-minor_63h.csv | 0b1000 | fre | -Form |
-minor_63h.csv | 0b1010 | frsqrte | -Form |
-minor_63l.csv | 0b011110010 | 18/7=mffsfamily | -Form |
-minor_63l.csv | 0b100000001 | 1/8=fneg | -Form |
-minor_63l.csv | 0b100000010 | 2/8=fmr | -Form |
-minor_63l.csv | 0b100000100 | 4/8=fnabs | -Form |
-minor_63l.csv | 0b100001000 | 8/8=fabs | -Form |
-minor_63l.csv | 0b100001100 | 12/8=frin | -Form |
-minor_63l.csv | 0b100001101 | 13/8=friz | -Form |
-minor_63l.csv | 0b100001110 | 14/8=frip | -Form |
-minor_63l.csv | 0b100001111 | 15/8=frim | -Form |
-minor_63l.csv | 0b110000000 | 0/12=frsp | -Form |
-minor_63l.csv | 0b111000000 | 0/14=fctiw | -Form |
-minor_63l.csv | 0b111000100 | 4/14=fctiwu | -Form |
-minor_63l.csv | 0b111011001 | 25/14=fctid | -Form |
-minor_63l.csv | 0b111011010 | 26/14=fcfid | -Form |
-minor_63l.csv | 0b111011101 | 29/14=fctidu | -Form |
-minor_63l.csv | 0b111011110 | 30/14=fcfidu | -Form |
-minor_63l.csv | 0b111100000 | 0/15=fctiwz | -Form |
-minor_63l.csv | 0b111100100 | 4/15=fctiwuz | -Form |
-minor_63l.csv | 0b111111001 | 25/15=fctidz | -Form |
-minor_63l.csv | 0b111111101 | 29/15=fctiduz | -Form |
"""]]
## 2R (non-SV)
minor_31.csv | 0b0000100000 | cmpl | X-Form |
minor_31.csv | 0b0011000000 | cmprb | X-Form |
minor_31.csv | 0b0011100000 | cmpeqb | X-Form |
-"""]]
-
-## 2R-CRio (RM-1P-2S1D)
-
-[[!table data="""
-CSV | opcode | asm | form |
minor_63l.csv | 0b000000000 | 0/0=fcmpu | -Form |
minor_63l.csv | 0b000000001 | 1/0=fcmpo | -Form |
minor_63l.csv | 0b000000100 | 4/0=ftdiv | -Form |
minor_31.csv | 0b1111001011 | divwuo | XO-Form |
minor_31.csv | 0b1111101001 | divdo | XO-Form |
minor_31.csv | 0b1111101011 | divwo | XO-Form |
+minor_63h.csv | 0b0010 | fdiv | -Form |
+minor_63h.csv | 0b0100 | fsub | -Form |
+minor_63h.csv | 0b0101 | fadd | -Form |
+minor_63h.csv | 0b1001 | fmul | -Form |
+minor_63l.csv | 0b100000000 | 0/8=fcpsgn | -Form |
"""]]
## 2R-1W-CRo (RM-1P-2S1D)
minor_59.csv | 0b10100 | fsubs | -Form |
minor_59.csv | 0b10101 | fadds | -Form |
minor_59.csv | 0b11001 | fmuls | -Form |
-minor_63h.csv | 0b0010 | fdiv | -Form |
-minor_63h.csv | 0b0100 | fsub | -Form |
-minor_63h.csv | 0b0101 | fadd | -Form |
-minor_63h.csv | 0b1001 | fmul | -Form |
minor_63l.csv | 0b011011010 | 26/6=fmrgow | -Form |
minor_63l.csv | 0b011011110 | 30/6=fmrgew | -Form |
-minor_63l.csv | 0b100000000 | 0/8=fcpsgn | -Form |
"""]]
-## 3R-1W-CRio (RM-1P-3S1D)
+## 3R-1W-CRo (-)
[[!table data="""
CSV | opcode | asm | form |
-minor_59.csv | 0b11100 | fmsubs | -Form |
-minor_59.csv | 0b11101 | fmadds | -Form |
-minor_59.csv | 0b11110 | fnmsubs | -Form |
-minor_59.csv | 0b11111 | fnmadds | -Form |
minor_63h.csv | 0b0111 | fsel | -Form |
minor_63h.csv | 0b1100 | fmsub | -Form |
minor_63h.csv | 0b1101 | fmadd | -Form |
minor_63h.csv | 0b1111 | fnmadd | -Form |
"""]]
+## 3R-1W-CRio (RM-1P-3S1D)
+
+[[!table data="""
+CSV | opcode | asm | form |
+minor_59.csv | 0b11100 | fmsubs | -Form |
+minor_59.csv | 0b11101 | fmadds | -Form |
+minor_59.csv | 0b11110 | fnmsubs | -Form |
+minor_59.csv | 0b11111 | fnmadds | -Form |
+"""]]
+
# svp64 remaps
* **LDST-1R-1W-imm**: LDSTRM-2P-1S1D
* **LDST-1R-2W-imm**: LDSTRM-2P-1S2D
* **LDST-3R**: LDSTRM-2P-3S
* **LDST-3R-CRo**: LDSTRM-2P-3S
* **LDST-3R-1W**: LDSTRM-2P-2S1D
+* **CRo**: -
* **CRio**: RM-2P-1S1D
* **CR=2R1W**: RM-1P-2S1D
* **1W-CRi**: RM-2P-1S1D
* **1R-CRo**: RM-2P-1S1D
+* **1R-CRo**: RM-2P-1S1D
* **1R-CRio**: RM-2P-2S1D
* **1R-1W**: RM-2P-1S1D
* **1R-1W-imm**: RM-2P-1S1D
* **1R-1W-CRo**: RM-2P-1S1D
* **1R-1W-CRio**: RM-2P-1S1D
* **2R-CRo**: RM-1P-2S1D
-* **2R-CRio**: RM-1P-2S1D
* **2R-1W**: RM-1P-2S1D
* **2R-1W-CRo**: RM-1P-2S1D
* **2R-1W-CRo**: RM-1P-2S1D
* **2R-1W-CRi**: RM-1P-3S1D
* **2R-1W-CRio**: RM-1P-2S1D
+* **3R-1W-CRo**: -
* **3R-1W-CRio**: RM-1P-3S1D
## LDSTRM-2P-1S1D
[[!table format=csv file="openpower/isatables/LDSTRM-2P-3S.csv"]]
+## -
+
+[[!table format=csv file="openpower/isatables/-.csv"]]
+
## RM-2P-1S1D
[[!table format=csv file="openpower/isatables/RM-2P-1S1D.csv"]]
# Ignore those containing: valid test sprs
for fname in glob(pth):
+ if '-' in fname:
+ continue
if 'valid' in fname:
continue
if 'test' in fname:
elif regs == ['RS','','','RA','','']:
res['0'] = 'd:RA' # RA: Rdest1_EXTRA3
res['1'] = 's:RS' # RS: Rsrc1_EXTRA3
- elif regs == ['','FRB','','FRT','0','CR1']:
+ elif regs == ['','FRB','','FRT','','CR1']:
res['0'] = 'd:FRT,d:CR1' # FRT,CR1: Rdest1_EXTRA3
res['1'] = 's:FRA' # FRA: Rsrc1_EXTRA3
else:
res['0'] = 'd:BT' # BT: Rdest1_EXTRA3
res['1'] = 's:BA' # BA: Rsrc1_EXTRA3
res['2'] = 's:BB' # BB: Rsrc2_EXTRA3
- elif regs == ['FRA','','FRC','FRT','0','CR1']:
+ elif regs == ['FRA','','FRC','FRT','','CR1']:
res['0'] = 'd:FRT,d:CR1' # FRT,CR1: Rdest1_EXTRA3
res['1'] = 's:FRA' # FRA: Rsrc1_EXTRA3
res['2'] = 's:FRC' # FRC: Rsrc1_EXTRA3
# should be for fcmp
- elif regs == ['FRA','FRB','','','0','1']:
+ elif regs == ['FRA','FRB','','','','BF']:
res['0'] = 'd:BF' # BF: Rdest1_EXTRA3
res['1'] = 's:FRA' # FRA: Rsrc1_EXTRA3
res['2'] = 's:FRB' # FRB: Rsrc1_EXTRA3
- elif regs == ['FRA','FRB','','FRT','0','CR1']:
+ elif regs == ['FRA','FRB','','FRT','','CR1']:
res['0'] = 'd:FRT,d:CR1' # FRT,CR1: Rdest1_EXTRA3
res['1'] = 's:FRA' # FRA: Rsrc1_EXTRA3
res['2'] = 's:FRB' # FRB: Rsrc1_EXTRA3