diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2009-10-21 17:54:01 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2009-10-21 17:54:01 +0000 |
| commit | 0db964a3a0f3687f3e3179a549f80fa66aac0a2c (patch) | |
| tree | e5702a2be5203c63c76abd960a949c109aaffd7c | |
| parent | 87671da29a5234f6e9ceed1ef8f0b30bc2c68fdd (diff) | |
| download | bcm5719-llvm-0db964a3a0f3687f3e3179a549f80fa66aac0a2c.tar.gz bcm5719-llvm-0db964a3a0f3687f3e3179a549f80fa66aac0a2c.zip | |
Fix NEON VST2LN instruction encoding.
Patch by Johnny Chen.
llvm-svn: 84767
| -rw-r--r-- | llvm/lib/Target/ARM/ARMInstrNEON.td | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrNEON.td b/llvm/lib/Target/ARM/ARMInstrNEON.td index dd415dbceef..822950c5283 100644 --- a/llvm/lib/Target/ARM/ARMInstrNEON.td +++ b/llvm/lib/Target/ARM/ARMInstrNEON.td @@ -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> |

