mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Declare YMM subregisters in the right way! Thanks Jakob
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d52e78efac
commit
58dbf3784d
@ -181,8 +181,7 @@ let Namespace = "X86" in {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// YMM Registers, used by AVX instructions
|
// YMM Registers, used by AVX instructions
|
||||||
// The sub_ss and sub_sd subregs are the same registers with another regclass.
|
let SubRegIndices = [sub_xmm] in {
|
||||||
let CompositeIndices = [(sub_ss), (sub_sd)], SubRegIndices = [sub_xmm] in {
|
|
||||||
def YMM0: RegisterWithSubRegs<"ymm0", [XMM0]>, DwarfRegNum<[17, 21, 21]>;
|
def YMM0: RegisterWithSubRegs<"ymm0", [XMM0]>, DwarfRegNum<[17, 21, 21]>;
|
||||||
def YMM1: RegisterWithSubRegs<"ymm1", [XMM1]>, DwarfRegNum<[18, 22, 22]>;
|
def YMM1: RegisterWithSubRegs<"ymm1", [XMM1]>, DwarfRegNum<[18, 22, 22]>;
|
||||||
def YMM2: RegisterWithSubRegs<"ymm2", [XMM2]>, DwarfRegNum<[19, 23, 23]>;
|
def YMM2: RegisterWithSubRegs<"ymm2", [XMM2]>, DwarfRegNum<[19, 23, 23]>;
|
||||||
|
Loading…
Reference in New Issue
Block a user