From: Brian Gaeke Date: Fri, 18 Jun 2004 05:19:27 +0000 (+0000) Subject: Add load instructions for floating-point registers. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=562d5b0f6ddd341b5755829c636be82eaf31625c;p=oota-llvm.git Add load instructions for floating-point registers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14217 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index fccf02fd202..aa423f109a7 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -66,6 +66,11 @@ def LDUHmr: F3_2<3, 0b000010, "lduh">; def LDmr : F3_2<3, 0b000000, "ld">; def LDDmr : F3_2<3, 0b000011, "ldd">; +// Section B.2 - Load Floating-point Instructions, p. 92 +def LDFmr : F3_2<3, 0b100000, "ld">; +def LDDFmr : F3_2<3, 0b100011, "ldd">; +def LDFSRmr: F3_2<3, 0b100001, "ld">; + // Section B.4 - Store Integer Instructions, p. 95 def STBrm : F3_2<3, 0b000101, "stb">; def STHrm : F3_2<3, 0b000110, "sth">; diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td index fccf02fd202..aa423f109a7 100644 --- a/lib/Target/SparcV8/SparcV8InstrInfo.td +++ b/lib/Target/SparcV8/SparcV8InstrInfo.td @@ -66,6 +66,11 @@ def LDUHmr: F3_2<3, 0b000010, "lduh">; def LDmr : F3_2<3, 0b000000, "ld">; def LDDmr : F3_2<3, 0b000011, "ldd">; +// Section B.2 - Load Floating-point Instructions, p. 92 +def LDFmr : F3_2<3, 0b100000, "ld">; +def LDDFmr : F3_2<3, 0b100011, "ldd">; +def LDFSRmr: F3_2<3, 0b100001, "ld">; + // Section B.4 - Store Integer Instructions, p. 95 def STBrm : F3_2<3, 0b000101, "stb">; def STHrm : F3_2<3, 0b000110, "sth">;