1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP32
3 ; RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -global-isel -verify-machineinstrs %s -o -| FileCheck %s -check-prefixes=MIPS32,FP64
5 define double @fpext(float %a) {
7 ; MIPS32: # %bb.0: # %entry
8 ; MIPS32-NEXT: cvt.d.s $f0, $f12
12 %conv = fpext float %a to double
16 define float @fptrunc(double %a) {
17 ; MIPS32-LABEL: fptrunc:
18 ; MIPS32: # %bb.0: # %entry
19 ; MIPS32-NEXT: cvt.s.d $f0, $f12
23 %conv = fptrunc double %a to float