Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(256)

Side by Side Diff: tests_lit/llvm2ice_tests/64bit.pnacl.ll

Issue 695993004: Subzero: Switch to AT&T asm syntax. I give up. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Add opcode suffix to xchg. Use .L$ prefix for constant pool entries. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 ; This tries to be a comprehensive test of i64 operations, in 1 ; This tries to be a comprehensive test of i64 operations, in
2 ; particular the patterns for lowering i64 operations into constituent 2 ; particular the patterns for lowering i64 operations into constituent
3 ; i32 operations on x86-32. 3 ; i32 operations on x86-32.
4 4
5 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer 5 ; TODO(jvoung): fix extra "CALLTARGETS" run. The llvm-objdump symbolizer
6 ; doesn't know how to symbolize non-section-local functions. 6 ; doesn't know how to symbolize non-section-local functions.
7 ; The newer LLVM 3.6 one does work, but watch out for other bugs. 7 ; The newer LLVM 3.6 one does work, but watch out for other bugs.
8 8
9 ; RUN: %p2i -i %s --args -O2 --verbose none \ 9 ; RUN: %p2i -i %s --args -O2 --verbose none \
10 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s 10 ; RUN: | FileCheck --check-prefix=CALLTARGETS %s
11 ; RUN: %p2i -i %s --args -O2 --verbose none \ 11 ; RUN: %p2i -i %s --args -O2 --verbose none \
12 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
13 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s 13 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - | FileCheck %s
14 ; RUN: %p2i -i %s --args -Om1 --verbose none \ 14 ; RUN: %p2i -i %s --args -Om1 --verbose none \
15 ; RUN: | llvm-mc -triple=i686-none-nacl -x86-asm-syntax=intel -filetype=obj \ 15 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
16 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \ 16 ; RUN: | llvm-objdump -d --symbolize -x86-asm-syntax=intel - \
17 ; RUN: | FileCheck --check-prefix=OPTM1 %s 17 ; RUN: | FileCheck --check-prefix=OPTM1 %s
18 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s 18 ; RUN: %p2i -i %s --args --verbose none | FileCheck --check-prefix=ERRORS %s
19 19
20 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4 20 @__init_array_start = internal constant [0 x i8] zeroinitializer, align 4
21 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4 21 @__fini_array_start = internal constant [0 x i8] zeroinitializer, align 4
22 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8 22 @__tls_template_start = internal constant [0 x i8] zeroinitializer, align 8
23 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4 23 @__tls_template_alignment = internal constant [4 x i8] c"\01\00\00\00", align 4
24 24
25 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) { 25 define internal i32 @ignore64BitArg(i64 %a, i32 %b, i64 %c) {
(...skipping 1297 matching lines...) Expand 10 before | Expand all | Expand 10 after
1323 ret void 1323 ret void
1324 } 1324 }
1325 ; The following checks are not strictly necessary since one of the RUN 1325 ; The following checks are not strictly necessary since one of the RUN
1326 ; lines actually runs the output through the assembler. 1326 ; lines actually runs the output through the assembler.
1327 ; CHECK-LABEL: icmpLt64Imm 1327 ; CHECK-LABEL: icmpLt64Imm
1328 ; CHECK-NOT: cmp {{[0-9]+}}, 1328 ; CHECK-NOT: cmp {{[0-9]+}},
1329 ; OPTM1-LABEL: icmpLt64Imm 1329 ; OPTM1-LABEL: icmpLt64Imm
1330 ; OPTM1-NOT: cmp {{[0-9]+}}, 1330 ; OPTM1-NOT: cmp {{[0-9]+}},
1331 1331
1332 ; ERRORS-NOT: ICE translation error 1332 ; ERRORS-NOT: ICE translation error
OLDNEW
« no previous file with comments | « tests_lit/assembler/x86/opcode_register_encodings.ll ('k') | tests_lit/llvm2ice_tests/8bit.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698