[all-commits] [llvm/llvm-project] ac0c8e: [Clang][RISCV] Add packed subvector extract intrin...

SiHuaN via All-commits all-commits at lists.llvm.org
Thu Sep 17 20:09:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ac0c8eb5aa55af2387b6c925de26e159b7a8a271
      https://github.com/llvm/llvm-project/commit/ac0c8eb5aa55af2387b6c925de26e159b7a8a271
  Author: SiHuaN <liyongtai at iscas.ac.cn>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

  Changed paths:
    M clang/lib/Headers/riscv_packed_simd.h
    M clang/test/CodeGen/RISCV/rvp-intrinsics.c
    M cross-project-tests/intrinsic-header-tests/riscv_packed_simd.c

  Log Message:
  -----------
  [Clang][RISCV] Add packed subvector extract intrinsics (#224429)

Add the Packed Subvector Extract intrinsics:

- `__riscv_pget_i8x8_i8x4`
- `__riscv_pget_u8x8_u8x4`
- `__riscv_pget_i16x4_i16x2`
- `__riscv_pget_u16x4_u16x2`

Each extracts the 32-bit packed subvector selected by a constant index
(0 = low, 1 = high) from a 64-bit packed vector. The index is
range-checked with `__enable_if__`, as for the element extract
intrinsics.

This is header-only: the shuffle is selected without backend changes, so
no new IR intrinsics or builtins are required.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list