annotate test/CodeGen/ARM/neon_div.ll @ 128:c347d3398279 default tip

fix
author mir3636
date Wed, 06 Dec 2017 14:37:17 +0900
parents 803732b1fca8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
1 ; RUN: llc -mtriple arm-eabi -mattr=+neon -disable-post-ra -pre-RA-sched source %s -o - | FileCheck %s
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
2 ; RUN: llc -mtriple thumbv7-windows-itanium -mattr=+neon -disable-post-ra -pre-RA-sched source %s -o - | FileCheck %s
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 define <8 x i8> @sdivi8(<8 x i8>* %A, <8 x i8>* %B) nounwind {
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
5 %tmp1 = load <8 x i8>, <8 x i8>* %A
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
6 %tmp2 = load <8 x i8>, <8 x i8>* %B
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
7 %tmp3 = sdiv <8 x i8> %tmp1, %tmp2
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
8 ret <8 x i8> %tmp3
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 }
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
11 ; CHECK-LABEL: sdivi8:
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
12 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
13 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
14 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
15 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
16 ; CHECK: vmovn.i16
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
17
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 define <8 x i8> @udivi8(<8 x i8>* %A, <8 x i8>* %B) nounwind {
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
19 %tmp1 = load <8 x i8>, <8 x i8>* %A
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
20 %tmp2 = load <8 x i8>, <8 x i8>* %B
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
21 %tmp3 = udiv <8 x i8> %tmp1, %tmp2
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
22 ret <8 x i8> %tmp3
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 }
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
25 ; CHECK-LABEL: udivi8:
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
26 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
27 ; CHECK: vrecps.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
28 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
29 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
30 ; CHECK: vrecps.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
31 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
32 ; CHECK: vqmovun.s16
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
33
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 define <4 x i16> @sdivi16(<4 x i16>* %A, <4 x i16>* %B) nounwind {
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
35 %tmp1 = load <4 x i16>, <4 x i16>* %A
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
36 %tmp2 = load <4 x i16>, <4 x i16>* %B
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
37 %tmp3 = sdiv <4 x i16> %tmp1, %tmp2
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
38 ret <4 x i16> %tmp3
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 }
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
40
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
41 ; CHECK-LABEL: sdivi16:
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
42 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
43 ; CHECK: vrecps.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
44 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
45
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 define <4 x i16> @udivi16(<4 x i16>* %A, <4 x i16>* %B) nounwind {
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
47 %tmp1 = load <4 x i16>, <4 x i16>* %A
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
48 %tmp2 = load <4 x i16>, <4 x i16>* %B
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
49 %tmp3 = udiv <4 x i16> %tmp1, %tmp2
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
50 ret <4 x i16> %tmp3
0
95c75e76d11b LLVM 3.4
Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
parents:
diff changeset
51 }
121
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
52
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
53 ; CHECK-LABEL: udivi16:
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
54 ; CHECK: vrecpe.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
55 ; CHECK: vrecps.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
56 ; CHECK: vrecps.f32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
57 ; CHECK: vmovn.i32
803732b1fca8 LLVM 5.0
kono
parents: 95
diff changeset
58