65 lines · plain
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2# RUN: llc -O0 -mtriple=mipsel-linux-gnu -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=FP323# RUN: llc -O0 -mtriple=mipsel-linux-gnu -mattr=+fp64,+mips32r2 -run-pass=instruction-select -verify-machineinstrs %s -o - | FileCheck %s -check-prefixes=FP644--- |5 6 define void @e_single_precision() {entry: ret void}7 define void @e_double_precision() {entry: ret void}8 9...10---11name: e_single_precision12alignment: 413legalized: true14regBankSelected: true15tracksRegLiveness: true16body: |17 bb.1.entry:18 ; FP32-LABEL: name: e_single_precision19 ; FP32: [[LUi:%[0-9]+]]:gpr32 = LUi 1642920 ; FP32: [[ORi:%[0-9]+]]:gpr32 = ORi [[LUi]], 6357221 ; FP32: [[MTC1_:%[0-9]+]]:fgr32 = MTC1 [[ORi]]22 ; FP32: $f0 = COPY [[MTC1_]]23 ; FP32: RetRA implicit $f024 ; FP64-LABEL: name: e_single_precision25 ; FP64: [[LUi:%[0-9]+]]:gpr32 = LUi 1642926 ; FP64: [[ORi:%[0-9]+]]:gpr32 = ORi [[LUi]], 6357227 ; FP64: [[MTC1_:%[0-9]+]]:fgr32 = MTC1 [[ORi]]28 ; FP64: $f0 = COPY [[MTC1_]]29 ; FP64: RetRA implicit $f030 %0:fprb(s32) = G_FCONSTANT float 0x4005BF0A8000000031 $f0 = COPY %0(s32)32 RetRA implicit $f033 34...35---36name: e_double_precision37alignment: 438legalized: true39regBankSelected: true40tracksRegLiveness: true41body: |42 bb.1.entry:43 ; FP32-LABEL: name: e_double_precision44 ; FP32: [[LUi:%[0-9]+]]:gpr32 = LUi 1638945 ; FP32: [[ORi:%[0-9]+]]:gpr32 = ORi [[LUi]], 4890646 ; FP32: [[LUi1:%[0-9]+]]:gpr32 = LUi 3560447 ; FP32: [[ORi1:%[0-9]+]]:gpr32 = ORi [[LUi1]], 2237748 ; FP32: [[BuildPairF64_:%[0-9]+]]:afgr64 = BuildPairF64 [[ORi1]], [[ORi]]49 ; FP32: $d0 = COPY [[BuildPairF64_]]50 ; FP32: RetRA implicit $d051 ; FP64-LABEL: name: e_double_precision52 ; FP64: [[LUi:%[0-9]+]]:gpr32 = LUi 1638953 ; FP64: [[ORi:%[0-9]+]]:gpr32 = ORi [[LUi]], 4890654 ; FP64: [[LUi1:%[0-9]+]]:gpr32 = LUi 3560455 ; FP64: [[ORi1:%[0-9]+]]:gpr32 = ORi [[LUi1]], 2237756 ; FP64: [[BuildPairF64_64_:%[0-9]+]]:fgr64 = BuildPairF64_64 [[ORi1]], [[ORi]]57 ; FP64: $d0 = COPY [[BuildPairF64_64_]]58 ; FP64: RetRA implicit $d059 %0:fprb(s64) = G_FCONSTANT double 0x4005BF0A8B14576960 $d0 = COPY %0(s64)61 RetRA implicit $d062 63...64 65