Add 64-bit compare + branch for SPARC v9.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 3 Apr 2013 04:41:44 +0000 (04:41 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 3 Apr 2013 04:41:44 +0000 (04:41 +0000)
commit8534e9998c53efae49e4555ba394f39808fb83e0
tree1bd8ac4c1e69663722c552a7692b4640924c3377
parent2d8f62017d6223444564f79fc8044cc35d9d5678
Add 64-bit compare + branch for SPARC v9.

The same compare instruction is used for 32-bit and 64-bit compares. It
sets two different sets of flags: icc and xcc.

This patch adds a conditional branch instruction using the xcc flags for
64-bit compares.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178621 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/SparcISelLowering.cpp
lib/Target/Sparc/SparcISelLowering.h
lib/Target/Sparc/SparcInstr64Bit.td
lib/Target/Sparc/SparcInstrInfo.td
lib/Target/Sparc/SparcRegisterInfo.td
test/CodeGen/SPARC/64cond.ll [new file with mode: 0644]