From 0735920173891af2b868cce5b7aa98abd2420ff8 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Fri, 18 Jun 2004 06:28:21 +0000 Subject: [PATCH] Clean up the commented-out F3_3 stuff. Replace it with a working class for FP instrs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14226 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcV8InstrInfo_F3.td | 9 ++++----- lib/Target/SparcV8/SparcV8InstrInfo_F3.td | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/lib/Target/Sparc/SparcV8InstrInfo_F3.td b/lib/Target/Sparc/SparcV8InstrInfo_F3.td index f1bf6a05f8f..4906b9de04d 100644 --- a/lib/Target/Sparc/SparcV8InstrInfo_F3.td +++ b/lib/Target/Sparc/SparcV8InstrInfo_F3.td @@ -47,16 +47,15 @@ class F3_2 opVal, bits<6> op3val, string name> : F3 { let Inst{12-0} = simm13; } -/* -class F3_3 opVal, bits<6> op3val, bits<9> opfVal, string name> - : F3_rs1rs2 { +// floating-point +class F3_3 opVal, bits<6> op3val, bits<9> opfval, string name> : F3 { + bits<8> asi; bits<5> rs2; let op = opVal; let op3 = op3val; let Name = name; - let Inst{13-5} = opfVal; + let Inst{13-5} = opfval; // fp opcode let Inst{4-0} = rs2; } -*/ \ No newline at end of file diff --git a/lib/Target/SparcV8/SparcV8InstrInfo_F3.td b/lib/Target/SparcV8/SparcV8InstrInfo_F3.td index f1bf6a05f8f..4906b9de04d 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo_F3.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo_F3.td @@ -47,16 +47,15 @@ class F3_2 opVal, bits<6> op3val, string name> : F3 { let Inst{12-0} = simm13; } -/* -class F3_3 opVal, bits<6> op3val, bits<9> opfVal, string name> - : F3_rs1rs2 { +// floating-point +class F3_3 opVal, bits<6> op3val, bits<9> opfval, string name> : F3 { + bits<8> asi; bits<5> rs2; let op = opVal; let op3 = op3val; let Name = name; - let Inst{13-5} = opfVal; + let Inst{13-5} = opfval; // fp opcode let Inst{4-0} = rs2; } -*/ \ No newline at end of file -- 2.34.1