Skip to content

Commit b976b83

Browse files
introduce bf_cvt intrinsic
1 parent efec192 commit b976b83

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

GenXIntrinsics/include/llvm/GenXIntrinsics/Intrinsic_definitions.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1786,6 +1786,22 @@
17861786
"attributes" : "NoMem"
17871787
},
17881788

1789+
### bf_cvt
1790+
### ^^^^^^
1791+
###
1792+
### ``llvm.genx.bf.cvt.<return type>.<any float>`` : bf_cvt instruction
1793+
### ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1794+
### * ``llvm.genx.bf.cvt`` :
1795+
###
1796+
### * arg0: first input, any scalar/vector bf/float type (overloaded)
1797+
###
1798+
### * Return value: result, must be float if arg0 is half, or half if arg0 is float.
1799+
###
1800+
"bf_cvt" : { "result" : "anyfloat",
1801+
"arguments" : ["anyfloat"],
1802+
"attributes" : "NoMem"
1803+
},
1804+
17891805
### xor
17901806
### ^^^
17911807
### Intrinsic not needed; use LLVM IR Xor instruction

0 commit comments

Comments
 (0)