1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel \
3 ; RUN: -verify-machineinstrs %s -o -| FileCheck %s
4 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -global-isel \
5 ; RUN: -verify-machineinstrs %s -o -| FileCheck %s
7 define double @fpext(float %a) {
9 ; CHECK: # %bb.0: # %entry
10 ; CHECK-NEXT: cvt.d.s $f0, $f12
14 %conv = fpext float %a to double
18 define float @fptrunc(double %a) {
19 ; CHECK-LABEL: fptrunc:
20 ; CHECK: # %bb.0: # %entry
21 ; CHECK-NEXT: cvt.s.d $f0, $f12
25 %conv = fptrunc double %a to float