The ARM disassembler did not handle the alignment correctly for VLD*DUP* instructions
[oota-llvm.git] / test / CodeGen / ARM / 2010-10-19-mc-elf-objheader.ll
index ab05632e65a21762da3ef3a5cae429f10d2eecf6..ee443febcc1ed96ec67a16347a643e8900d677ac 100644 (file)
@@ -1,7 +1,8 @@
 ; RUN: llc  %s -mtriple=arm-linux-gnueabi -filetype=obj -o - | \
 ; RUN:    elf-dump --dump-section-data | FileCheck  -check-prefix=BASIC %s 
-; RUN: llc  %s -march=arm -mcpu=cortex-a8 -mattr=-neon -mattr=+vfp2 \
-; RUN:    -arm-reserve-r9 -arm-use-movt -filetype=obj -o - | \
+; RUN: llc  %s -mtriple=armv7-linux-gnueabi -march=arm -mcpu=cortex-a8 \
+; RUN:    -mattr=-neon -mattr=+vfp2 \
+; RUN:    -arm-reserve-r9 -filetype=obj -o - | \
 ; RUN:    elf-dump --dump-section-data | FileCheck  -check-prefix=CORTEXA8 %s
 
 
 ; BASIC-NEXT:         0x00000000
 ; BASIC-NEXT:         0x00000000
 ; BASIC-NEXT:         0x0000003c
-; BASIC-NEXT:         0x00000022
+; BASIC-NEXT:         0x00000020
 ; BASIC-NEXT:         0x00000000
 ; BASIC-NEXT:         0x00000000
 ; BASIC-NEXT:         0x00000001
 ; BASIC-NEXT:         0x00000000
-; BASIC-NEXT:         '41210000 00616561 62690001 17000000 06020801 09011401 15011703 18011901 2c01'
+; BASIC-NEXT:         '411f0000 00616561 62690001 15000000 06020801 09011401 15011703 18011901'
 
 ; CORTEXA8:        .ARM.attributes
 ; CORTEXA8-NEXT:         0x70000003
 ; CORTEXA8-NEXT:         0x00000000
 ; CORTEXA8-NEXT:         0x00000000
 ; CORTEXA8-NEXT:         0x0000003c
-; CORTEXA8-NEXT:         0x00000031
+; CORTEXA8-NEXT:         0x0000002f
 ; CORTEXA8-NEXT:         0x00000000
 ; CORTEXA8-NEXT:         0x00000000
 ; CORTEXA8-NEXT:         0x00000001
 ; CORTEXA8-NEXT:         0x00000000
-; CORTEXA8-NEXT:         '41300000 00616561 62690001 26000000 05434f52 5445582d 41380006 0a074108 0109020a 02140115 01170318 0119012c 01'
+; CORTEXA8-NEXT:         '412e0000 00616561 62690001 24000000 05434f52 5445582d 41380006 0a074108 0109020a 02140115 01170318 011901'
 
 define i32 @f(i64 %z) {
        ret i32 0