Fix NEON VST2LN instruction encoding.

Patch by Johnny Chen.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84767 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2009-10-21 17:54:01 +00:00
parent 407d57489f
commit b27b51aaa6

View File

@ -456,17 +456,17 @@ class VST2LN<bits<4> op11_8, string OpcodeStr>
!strconcat(OpcodeStr, "\t\\{$src1[$lane],$src2[$lane]\\}, $addr"),
"", []>;
def VST2LNd8 : VST2LN<0b0000, "vst2.8">;
def VST2LNd16 : VST2LN<0b0100, "vst2.16">;
def VST2LNd32 : VST2LN<0b1000, "vst2.32">;
def VST2LNd8 : VST2LN<0b0001, "vst2.8">;
def VST2LNd16 : VST2LN<0b0101, "vst2.16">;
def VST2LNd32 : VST2LN<0b1001, "vst2.32">;
// vst2 to double-spaced even registers.
def VST2LNq16a: VST2LN<0b0100, "vst2.16">;
def VST2LNq32a: VST2LN<0b1000, "vst2.32">;
def VST2LNq16a: VST2LN<0b0101, "vst2.16">;
def VST2LNq32a: VST2LN<0b1001, "vst2.32">;
// vst2 to double-spaced odd registers.
def VST2LNq16b: VST2LN<0b0100, "vst2.16">;
def VST2LNq32b: VST2LN<0b1000, "vst2.32">;
def VST2LNq16b: VST2LN<0b0101, "vst2.16">;
def VST2LNq32b: VST2LN<0b1001, "vst2.32">;
// VST3LN : Vector Store (single 3-element structure from one lane)
class VST3LN<bits<4> op11_8, string OpcodeStr>