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

Side by Side Diff: runtime/szrt_ll.ll

Issue 961413002: Subzero: Clean up the runtime implementation. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Change static helper strings to be char* instead of IceString Created 5 years, 9 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 | « runtime/szrt.c ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ;;===- subzero/runtime/szrt_ll.ll - Subzero runtime source ----------------===;; 1 ;;===- subzero/runtime/szrt_ll.ll - Subzero runtime source ----------------===;;
2 ;; 2 ;;
3 ;; The Subzero Code Generator 3 ;; The Subzero Code Generator
4 ;; 4 ;;
5 ;; This file is distributed under the University of Illinois Open Source 5 ;; This file is distributed under the University of Illinois Open Source
6 ;; License. See LICENSE.TXT for details. 6 ;; License. See LICENSE.TXT for details.
7 ;; 7 ;;
8 ;;===----------------------------------------------------------------------===;; 8 ;;===----------------------------------------------------------------------===;;
9 ;; 9 ;;
10 ;; This file implements wrappers for particular bitcode instructions that are 10 ;; This file implements wrappers for particular bitcode instructions that are
11 ;; too uncommon and complex for a particular target to bother implementing 11 ;; too uncommon and complex for a particular target to bother implementing
12 ;; directly in Subzero target lowering. This needs to be compiled by some 12 ;; directly in Subzero target lowering. This needs to be compiled by some
13 ;; non-Subzero compiler. 13 ;; non-Subzero compiler.
14 ;; 14 ;;
15 ;;===----------------------------------------------------------------------===;; 15 ;;===----------------------------------------------------------------------===;;
16 16
17 define <4 x float> @Sz_uitofp_v4i32(<4 x i32> %a) { 17 define <4 x float> @__Sz_uitofp_4xi32_4xf32(<4 x i32> %a) {
18 entry: 18 entry:
19 %0 = uitofp <4 x i32> %a to <4 x float> 19 %0 = uitofp <4 x i32> %a to <4 x float>
20 ret <4 x float> %0 20 ret <4 x float> %0
21 } 21 }
22 22
23 define <4 x i32> @Sz_fptoui_v4f32(<4 x float> %a) { 23 define <4 x i32> @__Sz_fptoui_4xi32_f32(<4 x float> %a) {
24 entry: 24 entry:
25 %0 = fptoui <4 x float> %a to <4 x i32> 25 %0 = fptoui <4 x float> %a to <4 x i32>
26 ret <4 x i32> %0 26 ret <4 x i32> %0
27 } 27 }
28
29 define i8 @__Sz_bitcast_8xi1_i8(<8 x i1> %a) {
30 entry:
31 %0 = bitcast <8 x i1> %a to i8
32 ret i8 %0
33 }
34
35 define i16 @__Sz_bitcast_16xi1_i16(<16 x i1> %a) {
36 entry:
37 %0 = bitcast <16 x i1> %a to i16
38 ret i16 %0
39 }
40
41 define <8 x i1> @__Sz_bitcast_i8_8xi1(i8 %a) {
42 entry:
43 %0 = bitcast i8 %a to <8 x i1>
44 ret <8 x i1> %0
45 }
46
47 define <16 x i1> @__Sz_bitcast_i16_16xi1(i16 %a) {
48 entry:
49 %0 = bitcast i16 %a to <16 x i1>
50 ret <16 x i1> %0
51 }
OLDNEW
« no previous file with comments | « runtime/szrt.c ('k') | src/IceTargetLowering.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698