mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/arm: Export bfdotadd from vec_helper.c
We will need this over in sme_helper.c. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20220607203306.657998-19-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
a613cf2d4a
commit
72db2aa353
2 changed files with 14 additions and 1 deletions
|
@ -230,4 +230,17 @@ uint64_t pmull_h(uint64_t op1, uint64_t op2);
|
|||
*/
|
||||
uint64_t pmull_w(uint64_t op1, uint64_t op2);
|
||||
|
||||
/**
|
||||
* bfdotadd:
|
||||
* @sum: addend
|
||||
* @e1, @e2: multiplicand vectors
|
||||
*
|
||||
* BFloat16 2-way dot product of @e1 & @e2, accumulating with @sum.
|
||||
* The @e1 and @e2 operands correspond to the 32-bit source vector
|
||||
* slots and contain two Bfloat16 values each.
|
||||
*
|
||||
* Corresponds to the ARM pseudocode function BFDotAdd.
|
||||
*/
|
||||
float32 bfdotadd(float32 sum, uint32_t e1, uint32_t e2);
|
||||
|
||||
#endif /* TARGET_ARM_VEC_INTERNAL_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue