From 06943c54ccc632dda38276ef2c436eef8928012e Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Tue, 20 Jul 2021 15:50:16 -0500 Subject: [PATCH] Add missing MMA instructions Signed-off-by: Bill Schmidt --- Intrinsics_Reference/ch_mma_reference.xml | 131 ++++++++++++++++++++++ 1 file changed, 131 insertions(+) diff --git a/Intrinsics_Reference/ch_mma_reference.xml b/Intrinsics_Reference/ch_mma_reference.xml index fdbd04f..e94d877 100644 --- a/Intrinsics_Reference/ch_mma_reference.xml +++ b/Intrinsics_Reference/ch_mma_reference.xml @@ -309,6 +309,65 @@ +
+ Conversion Operations + + These instructions convert between vectors of single precision + and bfloat16 types. + + + xvcvbf16spn + __builtin_vsx_xvcvbf16spn + + + xvcvspbf16 + __builtin_vsx_xvcvspbf16 + + + + + + + + + + Prototype + + + Instruction + + + + + + + + vuc __builtin_vsx_xvcvbf16spn (vuc a) + + + + + xvcvbf16spn a + + + + + + + vuc __builtin_vsx_xvcvspbf16 (vuc a) + + + + + xvcvspbf16 a + + + + + + + +
Outer Product Operations @@ -395,6 +454,22 @@ pmxvf64gerpp __builtin_mma_pmxvf64gerpp + + pmxvi16ger2 + __builtin_mma_pmxvi64ger2 + + + pmxvi16ger2pp + __builtin_mma_pmxvi64ger2pp + + + pmxvi16ger2s + __builtin_mma_pmxvi64ger2s + + + pmxvi16ger2spp + __builtin_mma_pmxvi64ger2spp + pmxvi64ger2 __builtin_mma_pmxvi64ger2 @@ -846,6 +921,62 @@ + void __builtin_mma_pmxvi16ger2 (__vector_quad* a, vuc b, vuc c, + const int d, const int e, const int f) + + + + + pmxvi16ger2 a,b,c,d,e,f + + + + + + + + void __builtin_mma_pmxvi16ger2pp (__vector_quad* a, vuc b, vuc c, + const int d, const int e, const int f) + + + + + pmxvi16ger2pp a,b,c,d,e,f + + + + + + + + void __builtin_mma_pmxvi16ger2s (__vector_quad* a, vuc b, vuc c, + const int d, const int e, const int f) + + + + + pmxvi16ger2s a,b,c,d,e,f + + + + + + + + void __builtin_mma_pmxvi16ger2spp (__vector_quad* a, vuc b, vuc c, + const int d, const int e, const int f) + + + + + pmxvi16ger2spp a,b,c,d,e,f + + + + + + + void __builtin_mma_pmxvi64ger2 (__vector_quad* a, vuc b, vuc c, const int d, const int e, const int f)