Skip to content

Commit 33b2f80

Browse files
vsemenov368sys-cmllvm
authored andcommitted
Add stochastic rounding intrinsic
.
1 parent facb207 commit 33b2f80

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
@@ -1845,6 +1845,22 @@
18451845
"attributes" : "NoMem"
18461846
},
18471847

1848+
### ``llvm.genx.biased.rounding.bf8.*`` : biased rounding instruction
1849+
### ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1850+
###
1851+
### * arg0: input, vNf16
1852+
### * arg1: bias, vNi8
1853+
###
1854+
### * Return value: result, vNi8
1855+
###
1856+
###
1857+
"biased_rounding_bf8" : { "result" : "anyint",
1858+
"arguments" : ["anyvector", 0],
1859+
"attributes" : "NoMem",
1860+
"platforms" : "Xe3+"
1861+
},
1862+
1863+
18481864
### bf_cvt
18491865
### ^^^^^^
18501866
###

0 commit comments

Comments
 (0)