diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-11 00:27:28 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-11 00:27:28 +0000 |
commit | 7bd19bd519311dacc8c00ac21f873d2cf900285e (patch) | |
tree | dfcdd5d77364ec43d58ca438a997cd91a688eebc /lib/Target/Mips/MipsInstrInfo.td | |
parent | 26e8ca34fe1b0d4d94c2743383755dadea6063e4 (diff) | |
download | external_llvm-7bd19bd519311dacc8c00ac21f873d2cf900285e.zip external_llvm-7bd19bd519311dacc8c00ac21f873d2cf900285e.tar.gz external_llvm-7bd19bd519311dacc8c00ac21f873d2cf900285e.tar.bz2 |
Add definitions of 64-bit loads and stores. Add a patterns for unaligned
zextloadi32 for which there is no corresponding pseudo or real instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141608 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsInstrInfo.td')
-rw-r--r-- | lib/Target/Mips/MipsInstrInfo.td | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index a40442f..0e43c79 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -226,14 +226,22 @@ def sextloadi16_a : AlignedLoad<sextloadi16>; def zextloadi16_a : AlignedLoad<zextloadi16>; def extloadi16_a : AlignedLoad<extloadi16>; def load_a : AlignedLoad<load>; +def sextloadi32_a : AlignedLoad<sextloadi32>; +def zextloadi32_a : AlignedLoad<zextloadi32>; +def extloadi32_a : AlignedLoad<extloadi32>; def truncstorei16_a : AlignedStore<truncstorei16>; def store_a : AlignedStore<store>; +def truncstorei32_a : AlignedStore<truncstorei32>; def sextloadi16_u : UnalignedLoad<sextloadi16>; def zextloadi16_u : UnalignedLoad<zextloadi16>; def extloadi16_u : UnalignedLoad<extloadi16>; def load_u : UnalignedLoad<load>; +def sextloadi32_u : UnalignedLoad<sextloadi32>; +def zextloadi32_u : UnalignedLoad<zextloadi32>; +def extloadi32_u : UnalignedLoad<extloadi32>; def truncstorei16_u : UnalignedStore<truncstorei16>; def store_u : UnalignedStore<store>; +def truncstorei32_u : UnalignedStore<truncstorei32>; //===----------------------------------------------------------------------===// // Instructions specific format |