/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/ |
D | big-endian-vector-callee.ll | 1 …b-eabi -mattr v7,neon -float-abi soft %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT 6 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 7 ; SOFT: vadd.f64 [[REG]] 19 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 20 ; SOFT: vadd.i64 [[REG]] 32 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 33 ; SOFT: vrev64.32 [[REG]] 45 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 46 ; SOFT: vrev64.32 [[REG]] 58 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 [all …]
|
D | big-endian-vector-caller.ll | 1 …b-eabi -mattr v7,neon -float-abi soft %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT 7 ; SOFT: vadd.f64 [[REG:d[0-9]+]] 8 ; SOFT: vmov r1, r0, [[REG]] 23 ; SOFT: vadd.i64 [[REG:d[0-9]+]] 24 ; SOFT: vmov r1, r0, [[REG]] 39 ; SOFT: vrev64.32 [[REG:d[0-9]+]] 40 ; SOFT: vmov r1, r0, [[REG]] 55 ; SOFT: vrev64.32 [[REG:d[0-9]+]] 56 ; SOFT: vmov r1, r0, [[REG]] 71 ; SOFT: vrev64.16 [[REG:d[0-9]+]] [all …]
|
D | float-helpers.s | 2 …-mattr=-vfp2 -mtriple=arm-eabi < %s | FileCheck %s -check-prefix=CHECK-ALL -check-prefix=CHECK-SOFT 3 …2 -mtriple=arm-eabi -meabi=gnu < %s | FileCheck %s -check-prefix=CHECK-ALL -check-prefix=CHECK-SOFT 16 ; CHECK-SOFT -mfloat-abi=soft 41 ; CHECK-SOFT-LABEL: fadd: 42 ; CHECK-SOFT: .save {r11, lr} 43 ; CHECK-SOFT-NEXT: push {r11, lr} 44 ; CHECK-SOFT-NEXT: bl __aeabi_fadd 45 ; CHECK-SOFT-NEXT: pop {r11, lr} 46 ; CHECK-SOFT-NEXT: mov pc, lr 64 ; CHECK-SOFT-LABEL: fdiv: [all …]
|
D | fcopysign.ll | 1 …< %s -disable-post-ra -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=SOFT 7 ; SOFT-LABEL: test1: 8 ; SOFT: lsr r1, r1, #31 9 ; SOFT: bfi r0, r1, #31, #1 20 ; SOFT-LABEL: test2: 21 ; SOFT: lsr r2, r3, #31 22 ; SOFT: bfi r1, r2, #31, #1 34 ; SOFT-LABEL: test3: 35 ; SOFT: vmov.i32 [[REG3:(d[0-9]+)]], #0x80000000 36 ; SOFT: vshl.i64 [[REG3]], [[REG3]], #32 [all …]
|
D | macho-embedded-float.ll | 2 …: llc -mtriple=thumbv7m-none-macho %s -o - -mcpu=cortex-m4 | FileCheck --check-prefix=CHECK-SOFT %s 3 …c -mtriple=thumbv7em-linux-gnueabi %s -o - -mcpu=cortex-m4 | FileCheck --check-prefix=CHECK-SOFT %s 11 ; CHECK-SOFT-LABEL: test_default_cc: 12 ; CHECK-SOFT-DAG: vmov [[A:s[0-9]+]], r0 13 ; CHECK-SOFT-DAG: vmov [[B:s[0-9]+]], r1 14 ; CHECK-SOFT: vadd.f32 [[RES:s[0-9]+]], [[A]], [[B]] 15 ; CEHCK-SOFT: vmov r0, [[RES]] 27 ; CHECK-SOFT-LABEL: test_libcall: 28 ; CHECK-SOFT: vmov r0, s0 29 ; CHECK-SOFT: bl {{_?}}sinf [all …]
|
D | default-float-abi.ll | 4 …llc -mtriple=armv7-linux-gnueabihf -float-abi=soft %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 5 …lc -mtriple=armv7-linux-musleabihf -float-abi=soft %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 6 ; RUN: llc -mtriple=armv7-linux-gnueabi %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 7 ; RUN: llc -mtriple=armv7-linux-musleabi %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 9 ; RUN: llc -mtriple=thumbv7-apple-ios6.0 %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 20 ; CHECK-SOFT-LABEL: test_abi: 21 ; CHECK-SOFT-DAG: vmov [[LHS:s[0-9]+]], r0 22 ; CHECK-SOFT-DAG: vmov [[RHS:s[0-9]+]], r1 23 ; CHECK-SOFT: vadd.f32 [[DEST:s[0-9]+]], [[LHS]], [[RHS]] 24 ; CHECK-SOFT: vmov r0, [[DEST]]
|
/external/llvm/test/CodeGen/ARM/ |
D | big-endian-vector-callee.ll | 1 …b-eabi -mattr v7,neon -float-abi soft %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT 6 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 7 ; SOFT: vadd.f64 [[REG]] 19 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 20 ; SOFT: vadd.i64 [[REG]] 32 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 33 ; SOFT: vrev64.32 [[REG]] 45 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 46 ; SOFT: vrev64.32 [[REG]] 58 ; SOFT: vmov [[REG:d[0-9]+]], r1, r0 [all …]
|
D | big-endian-vector-caller.ll | 1 …b-eabi -mattr v7,neon -float-abi soft %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT 7 ; SOFT: vadd.f64 [[REG:d[0-9]+]] 8 ; SOFT: vmov r1, r0, [[REG]] 23 ; SOFT: vadd.i64 [[REG:d[0-9]+]] 24 ; SOFT: vmov r1, r0, [[REG]] 39 ; SOFT: vrev64.32 [[REG:d[0-9]+]] 40 ; SOFT: vmov r1, r0, [[REG]] 55 ; SOFT: vrev64.32 [[REG:d[0-9]+]] 56 ; SOFT: vmov r1, r0, [[REG]] 71 ; SOFT: vrev64.16 [[REG:d[0-9]+]] [all …]
|
D | fcopysign.ll | 1 …< %s -disable-post-ra -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=SOFT 7 ; SOFT-LABEL: test1: 8 ; SOFT: lsr r1, r1, #31 9 ; SOFT: bfi r0, r1, #31, #1 20 ; SOFT-LABEL: test2: 21 ; SOFT: lsr r2, r3, #31 22 ; SOFT: bfi r1, r2, #31, #1 34 ; SOFT-LABEL: test3: 35 ; SOFT: vmov.i32 [[REG3:(d[0-9]+)]], #0x80000000 36 ; SOFT: vshl.i64 [[REG3]], [[REG3]], #32 [all …]
|
D | default-float-abi.ll | 4 …llc -mtriple=armv7-linux-gnueabihf -float-abi=soft %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 5 …lc -mtriple=armv7-linux-musleabihf -float-abi=soft %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 6 ; RUN: llc -mtriple=armv7-linux-gnueabi %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 7 ; RUN: llc -mtriple=armv7-linux-musleabi %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 9 ; RUN: llc -mtriple=thumbv7-apple-ios6.0 %s -o - | FileCheck %s --check-prefix=CHECK-SOFT 20 ; CHECK-SOFT-LABEL: test_abi: 21 ; CHECK-SOFT-DAG: vmov [[LHS:s[0-9]+]], r0 22 ; CHECK-SOFT-DAG: vmov [[RHS:s[0-9]+]], r1 23 ; CHECK-SOFT: vadd.f32 [[DEST:s[0-9]+]], [[LHS]], [[RHS]] 24 ; CHECK-SOFT: vmov r0, [[DEST]]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/GlobalISel/ |
D | arm-legalize-fp.mir | 2 …ss=legalizer %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT -check-prefix SOFT-AEABI 3 …legalizer %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT -check-prefix SOFT-DEFAULT 102 ; SOFT-DAG: $r0 = COPY [[X]] 103 ; SOFT-DAG: $r1 = COPY [[Y]] 106 ; SOFT: BL &fmodf, {{.*}}, implicit $r0, implicit $r1, implicit-def $r0 108 ; SOFT: [[R:%[0-9]+]]:_(s32) = COPY $r0 159 ; SOFT-DAG: $r{{[0-1]}} = COPY [[X0]] 160 ; SOFT-DAG: $r{{[0-1]}} = COPY [[X1]] 161 ; SOFT-DAG: $r{{[2-3]}} = COPY [[Y0]] 162 ; SOFT-DAG: $r{{[2-3]}} = COPY [[Y1]] [all …]
|
D | arm-legalize-divmod.mir | 2 … -mattr=-hwdiv-arm -run-pass=legalizer %s -o - | FileCheck %s -check-prefixes=CHECK,SOFT,SOFT-AEABI 4 …attr=-hwdiv-arm -run-pass=legalizer %s -o - | FileCheck %s -check-prefixes=CHECK,SOFT,SOFT-DEFAULT 45 ; SOFT-NOT: G_SDIV 46 ; SOFT: ADJCALLSTACKDOWN 47 ; SOFT-DAG: $r0 = COPY [[X]] 48 ; SOFT-DAG: $r1 = COPY [[Y]] 49 ; SOFT-AEABI: BL &__aeabi_idiv, {{.*}}, implicit $r0, implicit $r1, implicit-def $r0 50 ; SOFT-AEABI: [[R:%[0-9]+]]:_(s32) = COPY $r0 51 ; SOFT-DEFAULT: BL &__divsi3, {{.*}}, implicit $r0, implicit $r1, implicit-def $r0 52 ; SOFT-DEFAULT: [[R:%[0-9]+]]:_(s32) = COPY $r0 [all …]
|
D | arm-isel-divmod.ll | 2 …nueabi -mattr=+v6t2,-hwdiv-arm -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,SOFT-AEABI 4 …-gnu -mattr=+v6t2,-hwdiv-arm -global-isel %s -o - | FileCheck %s -check-prefixes=CHECK,SOFT-DEFAULT 9 ; SOFT-AEABI: bl __aeabi_idiv 10 ; SOFT-DEFAULT: bl __divsi3 18 ; SOFT-AEABI: bl __aeabi_uidiv 19 ; SOFT-DEFAULT: bl __udivsi3 27 ; SOFT-AEABI: bl __aeabi_idiv 28 ; SOFT-DEFAULT: bl __divsi3 36 ; SOFT-AEABI: bl __aeabi_uidiv 37 ; SOFT-DEFAULT: bl __udivsi3 [all …]
|
D | arm-legalize-vfp4.mir | 2 …n-pass=legalizer %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT -check-prefix HARD-… 3 …pass=legalizer %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT -check-prefix SOFT-ABI 4 …ass=legalizer %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT -check-prefix SOFT-ABI 33 ; SOFT-NOT: G_FMA 34 ; SOFT: ADJCALLSTACKDOWN 35 ; SOFT-ABI-DAG: $r0 = COPY [[X]] 36 ; SOFT-ABI-DAG: $r1 = COPY [[Y]] 37 ; SOFT-ABI-DAG: $r2 = COPY [[Z]] 38 ; SOFT-ABI: BL &fmaf, {{.*}}, implicit $r0, implicit $r1, implicit $r2, implicit-def $r0 39 ; SOFT-ABI: [[R:%[0-9]+]]:_(s32) = COPY $r0 [all …]
|
D | arm-isel-fp.ll | 2 …at -float-abi=soft -global-isel %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT-AEABI 3 … -float-abi=soft -global-isel %s -o - | FileCheck %s -check-prefix CHECK -check-prefix SOFT-DEFAULT 38 ; SOFT-AEABI: bl __aeabi_fadd 39 ; SOFT-DEFAULT: bl __addsf3 47 ; SOFT-AEABI: bl __aeabi_dadd 48 ; SOFT-DEFAULT: bl __adddf3 56 ; SOFT-AEABI: bl __aeabi_fsub 57 ; SOFT-DEFAULT: bl __subsf3 65 ; SOFT-AEABI: bl __aeabi_dsub 66 ; SOFT-DEFAULT: bl __subdf3 [all …]
|
/external/llvm/test/CodeGen/SPARC/ |
D | 32abi.ll | 3 …proc -mattr=soft-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT --check-prefix=CHEC… 83 ; SOFT: save %sp, -96, %sp 84 ; SOFT: ld [%fp+104], %l0 85 ; SOFT-NEXT: ld [%fp+96], %l1 86 ; SOFT-NEXT: ld [%fp+100], %l2 87 ; SOFT-NEXT: ld [%fp+92], %l3 88 ; SOFT-NEXT: mov %i2, %o0 89 ; SOFT-NEXT: call __extendsfdf2 90 ; SOFT-NEXT: nop 91 ; SOFT-NEXT: mov %o0, %i2 [all …]
|
D | 64abi.ll | 2 … -disable-sparc-leaf-proc -mattr=soft-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT 65 ; SOFT: save %sp, -176, %sp 66 ; SOFT: srl %i0, 0, %o0 67 ; SOFT-NEXT: call __extendsfdf2 68 ; SOFT: mov %o0, %i0 69 ; SOFT: mov %i1, %o0 70 ; SOFT: mov %i2, %o0 71 ; SOFT: mov %i3, %o0 72 ; SOFT: ld [%fp+2299], %o0 73 ; SOFT: ld [%fp+2307], %o1 [all …]
|
D | fp128.ll | 3 …c -mattr=-hard-quad-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT --check-prefix=BE 4 …l -mattr=-hard-quad-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT --check-prefix=EL 16 ; SOFT: call _Q_add 17 ; SOFT: call _Q_sub 18 ; SOFT: call _Q_mul 19 ; SOFT: call _Q_div 55 ; SOFT: _Q_cmp 69 ; SOFT: _Q_cmp 70 ; SOFT: cmp 103 ; SOFT: _Q_itoq [all …]
|
/external/swiftshader/third_party/LLVM/test/CodeGen/ARM/ |
D | fcopysign.ll | 1 ; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=SOFT 7 ; SOFT: test1: 8 ; SOFT: lsr r1, r1, #31 9 ; SOFT: bfi r0, r1, #31, #1 20 ; SOFT: test2: 21 ; SOFT: lsr r2, r3, #31 22 ; SOFT: bfi r1, r2, #31, #1 34 ; SOFT: test3: 35 ; SOFT: vmov.i32 [[REG3:(d[0-9]+)]], #0x80000000 36 ; SOFT: vshl.i64 [[REG3]], [[REG3]], #32 [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SPARC/ |
D | 32abi.ll | 3 …proc -mattr=soft-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT --check-prefix=CHEC… 83 ; SOFT: save %sp, -96, %sp 84 ; SOFT: ld [%fp+104], %l0 85 ; SOFT-NEXT: ld [%fp+96], %l1 86 ; SOFT-NEXT: ld [%fp+100], %l2 87 ; SOFT-NEXT: ld [%fp+92], %l3 88 ; SOFT-NEXT: mov %i2, %o0 89 ; SOFT-NEXT: call __extendsfdf2 90 ; SOFT-NEXT: nop 91 ; SOFT-NEXT: mov %o0, %o2 [all …]
|
D | 64abi.ll | 2 … -disable-sparc-leaf-proc -mattr=soft-float | FileCheck %s --check-prefix=CHECK --check-prefix=SOFT 65 ; SOFT: save %sp, -176, %sp 66 ; SOFT: ld [%fp+2299], %i4 67 ; SOFT: ld [%fp+2307], %i5 68 ; SOFT: srl %i0, 0, %o0 69 ; SOFT-NEXT: call __extendsfdf2 70 ; SOFT: mov %o0, %o1 71 ; SOFT: mov %i1, %o0 72 ; SOFT: mov %i2, %o0 73 ; SOFT: mov %i3, %o0 [all …]
|
/external/llvm/test/CodeGen/Thumb2/ |
D | float-intrinsics-double.ll | 1 …rtex-m3 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=NONE 2 …cortex-m4 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=SP 4 …cortex-m7 -mattr=+fp-only-sp | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=SP 11 ; SOFT: {{(bl|b)}} sqrt 20 ; SOFT: {{(bl|b)}} __powidf2 29 ; SOFT: {{(bl|b)}} sin 38 ; SOFT: {{(bl|b)}} cos 47 ; SOFT: {{(bl|b)}} pow 56 ; SOFT: {{(bl|b)}} exp 65 ; SOFT: {{(bl|b)}} exp2 [all …]
|
D | float-intrinsics-float.ll | 1 …rtex-m3 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=NONE 11 ; SOFT: bl sqrtf 20 ; SOFT: bl __powisf2 29 ; SOFT: bl sinf 38 ; SOFT: bl cosf 47 ; SOFT: bl powf 56 ; SOFT: bl expf 65 ; SOFT: bl exp2f 74 ; SOFT: bl logf 83 ; SOFT: bl log10f [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Thumb2/ |
D | float-intrinsics-double.ll | 1 …rtex-m3 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=NONE 2 …cortex-m4 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=SP 4 …cortex-m7 -mattr=+fp-only-sp | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=SP 11 ; SOFT: {{(bl|b)}} sqrt 20 ; SOFT: {{(bl|b)}} __powidf2 29 ; SOFT: {{(bl|b)}} sin 38 ; SOFT: {{(bl|b)}} cos 47 ; SOFT: {{(bl|b)}} pow 56 ; SOFT: {{(bl|b)}} exp 65 ; SOFT: {{(bl|b)}} exp2 [all …]
|
D | float-intrinsics-float.ll | 1 …rtex-m3 | FileCheck %s -check-prefix=CHECK -check-prefix=SOFT -check-prefix=NONE 11 ; SOFT: bl sqrtf 20 ; SOFT: bl __powisf2 29 ; SOFT: bl sinf 38 ; SOFT: bl cosf 47 ; SOFT: bl powf 56 ; SOFT: bl expf 65 ; SOFT: bl exp2f 74 ; SOFT: bl logf 83 ; SOFT: bl log10f [all …]
|