From dd66bbd6c01e01bb1c9294621ddf6a318f5f755f Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Tue, 11 May 2021 16:57:39 -0500 Subject: [PATCH] Introduce "build" interfaces for MMA Signed-off-by: Bill Schmidt --- Intrinsics_Reference/ch_mma_reference.xml | 57 +++++++++++++++++++---- 1 file changed, 49 insertions(+), 8 deletions(-) diff --git a/Intrinsics_Reference/ch_mma_reference.xml b/Intrinsics_Reference/ch_mma_reference.xml index 19261ac..d0a761f 100644 --- a/Intrinsics_Reference/ch_mma_reference.xml +++ b/Intrinsics_Reference/ch_mma_reference.xml @@ -120,20 +120,29 @@ vectors. The disassembly interfaces place the results into arrays of vectors. - - FIXME: Not clear when __builtin_mma versus __builtin_vsx is - used here. Document shows __builtin_vsx for pairs only. We - also have some late-breaking changes around endianness that - need to be properly documented. - FIXME: I've chosen not to include sample code generation here, but I can be persuaded if folks think that's useful. + + FIXME: Peter to provide some wording about semantics and + deprecation? I am not sure I have the latest information. + - + + + + + + Prototype + + + Notes + + + @@ -141,13 +150,19 @@ void __builtin_mma_assemble_acc (__vector_quad*, vuc, vuc, vuc, vuc) + + Deprecated + - void __builtin_vsx_assemble_pair (__vector_pair*, vuc, vuc) + void __builtin_mma_build_acc (__vector_quad*, vuc, vuc, vuc, vuc) + + + @@ -155,6 +170,29 @@ void __builtin_mma_disassemble_acc (void*, __vector_quad*) + + + + + + + + void __builtin_vsx_assemble_pair (__vector_pair*, vuc, vuc) + + + + Deprecated + + + + + + void __builtin_vsx_build_pair (__vector_pair*, vuc, vuc) + + + + + @@ -162,6 +200,9 @@ void __builtin_vsx_disassemble_pair (void*, __vector_pair*) + + +