You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
787 B
23 lines
787 B
4 months ago
|
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
||
|
# RUN: llc -march=amdgcn -mcpu=gfx900 -run-pass=instruction-select -verify-machineinstrs -o - %s | FileCheck -check-prefix=GFX9 %s
|
||
|
|
||
|
---
|
||
|
name: fmaxnum_ieee_v2f16_vv
|
||
|
legalized: true
|
||
|
regBankSelected: true
|
||
|
|
||
|
body: |
|
||
|
bb.0:
|
||
|
liveins: $sgpr0, $sgpr1
|
||
|
|
||
|
; GFX9-LABEL: name: fmaxnum_ieee_v2f16_vv
|
||
|
; GFX9: [[COPY:%[0-9]+]]:vgpr_32 = COPY $vgpr0
|
||
|
; GFX9: [[COPY1:%[0-9]+]]:vgpr_32 = COPY $vgpr1
|
||
|
; GFX9: %2:vgpr_32 = nofpexcept V_PK_MAX_F16 8, [[COPY]], 8, [[COPY1]], 0, 0, 0, 0, 0, implicit $mode, implicit $exec
|
||
|
; GFX9: S_ENDPGM 0, implicit %2
|
||
|
%0:vgpr(<2 x s16>) = COPY $vgpr0
|
||
|
%1:vgpr(<2 x s16>) = COPY $vgpr1
|
||
|
%2:vgpr(<2 x s16>) = G_FMAXNUM_IEEE %0, %1
|
||
|
S_ENDPGM 0, implicit %2
|
||
|
...
|