summaryrefslogtreecommitdiff
path: root/unittests
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-06-12 10:44:10 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-06-12 10:44:10 +0000
commit38b2a0bfdde226ecfd5440399998e2c3443e57d4 (patch)
tree0f0f2bf1c00893a7c432ae44759dff037c3dfaff /unittests
parente0bf9d21b0bb07ba61f5ba5cbbb91bcc8fbfba35 (diff)
downloadllvm-38b2a0bfdde226ecfd5440399998e2c3443e57d4.tar.gz
llvm-38b2a0bfdde226ecfd5440399998e2c3443e57d4.tar.bz2
llvm-38b2a0bfdde226ecfd5440399998e2c3443e57d4.tar.xz
[mips][mips64r6] Replace m[tf]hi, m[tf]lo, mult, multu, dmult, dmultu, div, ddiv, divu, ddivu for MIPS32r6/MIPS64.
Summary: The accumulator-based (HI/LO) multiplies and divides from earlier ISA's have been removed and replaced with GPR-based equivalents. For example: div $1, $2 mflo $3 is now: div $3, $1, $2 This patch disables the accumulator-based multiplies and divides for MIPS32r6/MIPS64r6 and uses the GPR-based equivalents instead. Renamed expandPseudoDiv to insertDivByZeroTrap to better describe the behaviour of the function. MipsDelaySlotFiller now invalidates the liveness information when moving instructions to the delay slot. Without this, divrem.ll will abort since %GP ends up used before it is defined. Reviewers: vmedic, zoran.jovanovic, jkolek Reviewed By: jkolek Differential Revision: http://reviews.llvm.org/D3896 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210760 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
0 files changed, 0 insertions, 0 deletions