OLD | NEW |
(Empty) | |
| 1 ;;===- subzero/runtime/szrt_ll.ll - Subzero runtime source ----------------===;; |
| 2 ;; |
| 3 ;; The Subzero Code Generator |
| 4 ;; |
| 5 ;; This file is distributed under the University of Illinois Open Source |
| 6 ;; License. See LICENSE.TXT for details. |
| 7 ;; |
| 8 ;;===----------------------------------------------------------------------===;; |
| 9 ;; |
| 10 ;; This file implements wrappers for particular bitcode instructions that are |
| 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 |
| 13 ;; non-Subzero compiler. |
| 14 ;; |
| 15 ;;===----------------------------------------------------------------------===;; |
| 16 |
| 17 define <4 x float> @Sz_uitofp_v4i32(<4 x i32> %a) { |
| 18 entry: |
| 19 %0 = uitofp <4 x i32> %a to <4 x float> |
| 20 ret <4 x float> %0 |
| 21 } |
| 22 |
| 23 define <4 x i32> @Sz_fptoui_v4f32(<4 x float> %a) { |
| 24 entry: |
| 25 %0 = fptoui <4 x float> %a to <4 x i32> |
| 26 ret <4 x i32> %0 |
| 27 } |
OLD | NEW |