[clang] [llvm] [RISCV] Preliminary P-ext intrinsics support (PR #174068)

Kito Cheng via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 31 01:05:42 PST 2025


kito-cheng wrote:

For such simple operation I would prefer just use operator to implement on header, e.g.
```c
static __inline__
int8x4_t __attribute__((__always_inline__, __nodebug__)) __riscv_padd_i8x4(int8x4_t rs1, int8x4_t rs2)
{
  return rs1 + rs2;
}
```

https://github.com/llvm/llvm-project/pull/174068


More information about the cfe-commits mailing list