Port-sparc64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Implementation of VIS C API



On Mon, 10 Nov 2025 12:10:50 +0000
nia <nia%NetBSD.org@localhost> wrote:

> Hi, recently got interested in SIMD instructions on sparc64.
> 
> While GCC provides some builtins, they're both incomplete and
> incompatible with the C API described in "VIS Instruction
> Set User's Manual", published by Sun in 2001.

I think GCC has various -mvis* options, but it's a bit of a mystery
what code it auto-generates with those and under what conditions.

It's a different use case compared to directly calling builtin
functions, but it all depends on how smart GCC can be when it comes to
translating C statements into SIMD assembly.


Home | Main Index | Thread Index | Old Index