From 17187e936a37171260b81b838a411db128fb1690 Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 14 Oct 2004 21:53:39 +0000 Subject: [PATCH] * In the F3_1 class, default asi to 0 because it's not currently used * In the F3_3 class, remove mention of asi because it's not part of the format git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16999 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcInstrFormats.td | 3 +-- lib/Target/SparcV8/SparcV8InstrFormats.td | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Target/Sparc/SparcInstrFormats.td b/lib/Target/Sparc/SparcInstrFormats.td index cef4ecb033d..f1b90f54db6 100644 --- a/lib/Target/Sparc/SparcInstrFormats.td +++ b/lib/Target/Sparc/SparcInstrFormats.td @@ -60,7 +60,7 @@ class F3 : InstV8 { // Specific F3 classes: SparcV8 manual, page 44 // class F3_1 opVal, bits<6> op3val, string name> : F3 { - bits<8> asi; + bits<8> asi = 0; // asi not currently used in SparcV8 bits<5> rs2; let op = opVal; @@ -85,7 +85,6 @@ class F3_2 opVal, bits<6> op3val, string name> : F3 { // floating-point class F3_3 opVal, bits<6> op3val, bits<9> opfval, string name> : F3 { - bits<8> asi; bits<5> rs2; let op = opVal; diff --git a/lib/Target/SparcV8/SparcV8InstrFormats.td b/lib/Target/SparcV8/SparcV8InstrFormats.td index cef4ecb033d..f1b90f54db6 100644 --- a/lib/Target/SparcV8/SparcV8InstrFormats.td +++ b/lib/Target/SparcV8/SparcV8InstrFormats.td @@ -60,7 +60,7 @@ class F3 : InstV8 { // Specific F3 classes: SparcV8 manual, page 44 // class F3_1 opVal, bits<6> op3val, string name> : F3 { - bits<8> asi; + bits<8> asi = 0; // asi not currently used in SparcV8 bits<5> rs2; let op = opVal; @@ -85,7 +85,6 @@ class F3_2 opVal, bits<6> op3val, string name> : F3 { // floating-point class F3_3 opVal, bits<6> op3val, bits<9> opfval, string name> : F3 { - bits<8> asi; bits<5> rs2; let op = opVal; -- 2.34.1