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

Side by Side Diff: tests_lit/assembler/x86/opcode_register_encodings.ll

Issue 2177033002: Subzero: Local variable splitting. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes, mostly renaming. Created 4 years, 4 months 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
« no previous file with comments | « src/IceVariableSplitting.cpp ('k') | tests_lit/llvm2ice_tests/callindirect.pnacl.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Tests various aspects of x86 opcode encodings. E.g., some opcodes like 1 ; Tests various aspects of x86 opcode encodings. E.g., some opcodes like
2 ; those for pmull vary more wildly depending on operand size (rather than 2 ; those for pmull vary more wildly depending on operand size (rather than
3 ; follow a usual pattern). 3 ; follow a usual pattern).
4 4
5 ; RUN: %p2i --filetype=obj --disassemble --sandbox -i %s --args -O2 \ 5 ; RUN: %p2i --filetype=obj --disassemble --sandbox -i %s --args -O2 \
6 ; RUN: -mattr=sse4.1 | FileCheck %s 6 ; RUN: -mattr=sse4.1 -split-local-vars=0 | FileCheck %s
7 7
8 define internal <8 x i16> @test_mul_v8i16(<8 x i16> %arg0, <8 x i16> %arg1) { 8 define internal <8 x i16> @test_mul_v8i16(<8 x i16> %arg0, <8 x i16> %arg1) {
9 entry: 9 entry:
10 %res = mul <8 x i16> %arg0, %arg1 10 %res = mul <8 x i16> %arg0, %arg1
11 ret <8 x i16> %res 11 ret <8 x i16> %res
12 ; CHECK-LABEL: test_mul_v8i16 12 ; CHECK-LABEL: test_mul_v8i16
13 ; CHECK: 66 0f d5 c1 pmullw xmm0,xmm1 13 ; CHECK: 66 0f d5 c1 pmullw xmm0,xmm1
14 } 14 }
15 15
16 ; Test register and address mode encoding. 16 ; Test register and address mode encoding.
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 three: 298 three:
299 %res3 = extractelement <8 x i16> %vec4, i32 7 299 %res3 = extractelement <8 x i16> %vec4, i32 7
300 %res3_ext = zext i16 %res3 to i32 300 %res3_ext = zext i16 %res3 to i32
301 ret i32 %res3_ext 301 ret i32 %res3_ext
302 } 302 }
303 ; CHECK-LABEL: test_pextrw 303 ; CHECK-LABEL: test_pextrw
304 ; CHECK-DAG: 66 0f c5 c0 00 pextrw eax,xmm0 304 ; CHECK-DAG: 66 0f c5 c0 00 pextrw eax,xmm0
305 ; CHECK-DAG: 66 0f c5 c1 02 pextrw eax,xmm1 305 ; CHECK-DAG: 66 0f c5 c1 02 pextrw eax,xmm1
306 ; CHECK-DAG: 66 0f c5 c2 05 pextrw eax,xmm2 306 ; CHECK-DAG: 66 0f c5 c2 05 pextrw eax,xmm2
307 ; CHECK-DAG: 66 0f c5 c3 07 pextrw eax,xmm3 307 ; CHECK-DAG: 66 0f c5 c3 07 pextrw eax,xmm3
OLDNEW
« no previous file with comments | « src/IceVariableSplitting.cpp ('k') | tests_lit/llvm2ice_tests/callindirect.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698