diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-24 03:07:37 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-12-24 03:07:37 +0000 |
commit | 9dfd4399a957f4a1a0c0111f0134554891b98021 (patch) | |
tree | 29643985616f67ac4bf480327cd4825c32657d42 | |
parent | 5085681d9e7d30435cb01e43d80a1aaf37c2b7c1 (diff) |
Detect unaligned loads/stores that have been added for Mips64 support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147234 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Mips/MipsAsmPrinter.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsAsmPrinter.cpp b/lib/Target/Mips/MipsAsmPrinter.cpp index 745b5ea286..c6b9c9cae5 100644 --- a/lib/Target/Mips/MipsAsmPrinter.cpp +++ b/lib/Target/Mips/MipsAsmPrinter.cpp @@ -49,7 +49,14 @@ static bool isUnalignedLoadStore(unsigned Opc) { return Opc == Mips::ULW || Opc == Mips::ULH || Opc == Mips::ULHu || Opc == Mips::USW || Opc == Mips::USH || Opc == Mips::ULW_P8 || Opc == Mips::ULH_P8 || Opc == Mips::ULHu_P8 || - Opc == Mips::USW_P8 || Opc == Mips::USH_P8; + Opc == Mips::USW_P8 || Opc == Mips::USH_P8 || + Opc == Mips::ULD || Opc == Mips::ULW64 || Opc == Mips::ULH64 || + Opc == Mips::ULHu64 || Opc == Mips::USD || Opc == Mips::USW64 || + Opc == Mips::USH64 || + Opc == Mips::ULD_P8 || Opc == Mips::ULW64_P8 || + Opc == Mips::ULH64_P8 || Opc == Mips::ULHu64_P8 || + Opc == Mips::USD_P8 || Opc == Mips::USW64_P8 || + Opc == Mips::USH64_P8; } static bool isDirective(unsigned Opc) { |