PATH:
lib64
/
llvm17
/
lib
/
clang
/
17
/
include
//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #ifndef _HEXAGON_CIRC_BREV_INTRINSICS_H_ #define _HEXAGON_CIRC_BREV_INTRINSICS_H_ 1 #include <hexagon_protos.h> #include <stdint.h> /* Circular Load */ /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_D(Word64 dst, Word64 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_D(dest,ptr,incr,bufsize,K) \ { ptr = (int64_t *) HEXAGON_circ_ldd (ptr, &(dest), ((((K)+1)<<24)|((bufsize)<<3)), ((incr)*8)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_W(Word32 dst, Word32 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_W(dest,ptr,incr,bufsize,K) \ { ptr = (int *) HEXAGON_circ_ldw (ptr, &(dest), (((K)<<24)|((bufsize)<<2)), ((incr)*4)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_H(Word16 dst, Word16 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_H(dest,ptr,incr,bufsize,K) \ { ptr = (int16_t *) HEXAGON_circ_ldh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_UH( UWord16 dst, UWord16 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_UH(dest,ptr,incr,bufsize,K) \ { ptr = (uint16_t *) HEXAGON_circ_lduh (ptr, &(dest), ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_B(Word8 dst, Word8 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_B(dest,ptr,incr,bufsize,K) \ { ptr = (int8_t *) HEXAGON_circ_ldb (ptr, &(dest), ((((K)-2)<<24)|(bufsize)), incr); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_load_update_UB(UWord8 dst, UWord8 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_load_update_UB(dest,ptr,incr,bufsize,K) \ { ptr = (uint8_t *) HEXAGON_circ_ldub (ptr, &(dest), ((((K)-2)<<24)|(bufsize)), incr); } /* Circular Store */ /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_store_update_D(Word64 *src, Word64 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_store_update_D(src,ptr,incr,bufsize,K) \ { ptr = (int64_t *) HEXAGON_circ_std (ptr, src, ((((K)+1)<<24)|((bufsize)<<3)), ((incr)*8)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_store_update_W(Word32 *src, Word32 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_store_update_W(src,ptr,incr,bufsize,K) \ { ptr = (int *) HEXAGON_circ_stw (ptr, src, (((K)<<24)|((bufsize)<<2)), ((incr)*4)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_store_update_HL(Word16 *src, Word16 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_store_update_HL(src,ptr,incr,bufsize,K) \ { ptr = (int16_t *) HEXAGON_circ_sth (ptr, src, ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_store_update_HH(Word16 *src, Word16 *ptr, UWord32 incr, UWord32 bufsize, UWord32 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_store_update_HH(src,ptr,incr,bufsize,K) \ { ptr = (int16_t *) HEXAGON_circ_sthhi (ptr, src, ((((K)-1)<<24)|((bufsize)<<1)), ((incr)*2)); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_circ_store_update_B(Word8 *src, Word8 *ptr, UWord32 I4, UWord32 bufsize, UWord64 K) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_circ_store_update_B(src,ptr,incr,bufsize,K) \ { ptr = (int8_t *) HEXAGON_circ_stb (ptr, src, ((((K)-2)<<24)|(bufsize)), incr); } /* Bit Reverse Load */ /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_D(Word64 dst, Word64 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_D(dest,ptr,log2bufsize) \ { ptr = (int64_t *) HEXAGON_brev_ldd (ptr, &(dest), (1<<(16-((log2bufsize) + 3)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_W(Word32 dst, Word32 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_W(dest,ptr,log2bufsize) \ { ptr = (int *) HEXAGON_brev_ldw (ptr, &(dest), (1<<(16-((log2bufsize) + 2)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_H(Word16 dst, Word16 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_H(dest,ptr,log2bufsize) \ { ptr = (int16_t *) HEXAGON_brev_ldh (ptr, &(dest), (1<<(16-((log2bufsize) + 1)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_UH(UWord16 dst, UWord16 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_UH(dest,ptr,log2bufsize) \ { ptr = (uint16_t *) HEXAGON_brev_lduh (ptr, &(dest), (1<<(16-((log2bufsize) + 1)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_B(Word8 dst, Word8 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_B(dest,ptr,log2bufsize) \ { ptr = (int8_t *) HEXAGON_brev_ldb (ptr, &(dest), (1<<(16-((log2bufsize))))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_load_update_UB(UWord8 dst, UWord8 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_load_update_UB(dest,ptr,log2bufsize) \ { ptr = (uint8_t *) HEXAGON_brev_ldub (ptr, &(dest), (1<<(16-((log2bufsize))))); } /* Bit Reverse Store */ /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_store_update_D(Word64 *src, Word64 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_store_update_D(src,ptr,log2bufsize) \ { ptr = (int64_t *) HEXAGON_brev_std (ptr, src, (1<<(16-((log2bufsize) + 3)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_store_update_W(Word32 *src, Word32 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_store_update_W(src,ptr,log2bufsize) \ { ptr = (int *) HEXAGON_brev_stw (ptr, src, (1<<(16-((log2bufsize) + 2)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_store_update_HL(Word16 *src, Word16 *ptr, Word32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_store_update_HL(src,ptr,log2bufsize) \ { ptr = (int16_t *) HEXAGON_brev_sth (ptr, src, (1<<(16-((log2bufsize) + 1)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_store_update_HH(Word16 *src, Word16 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_store_update_HH(src,ptr,log2bufsize) \ { ptr = (int16_t *) HEXAGON_brev_sthhi (ptr, src, (1<<(16-((log2bufsize) + 1)))); } /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: void Q6_bitrev_store_update_B(Word8 *src, Word8 *ptr, UWord32 Iu4) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #define Q6_bitrev_store_update_B(src,ptr,log2bufsize) \ { ptr = (int8_t *) HEXAGON_brev_stb (ptr, src, (1<<(16-((log2bufsize))))); } #define HEXAGON_circ_ldd __builtin_circ_ldd #define HEXAGON_circ_ldw __builtin_circ_ldw #define HEXAGON_circ_ldh __builtin_circ_ldh #define HEXAGON_circ_lduh __builtin_circ_lduh #define HEXAGON_circ_ldb __builtin_circ_ldb #define HEXAGON_circ_ldub __builtin_circ_ldub #define HEXAGON_circ_std __builtin_circ_std #define HEXAGON_circ_stw __builtin_circ_stw #define HEXAGON_circ_sth __builtin_circ_sth #define HEXAGON_circ_sthhi __builtin_circ_sthhi #define HEXAGON_circ_stb __builtin_circ_stb #define HEXAGON_brev_ldd __builtin_brev_ldd #define HEXAGON_brev_ldw __builtin_brev_ldw #define HEXAGON_brev_ldh __builtin_brev_ldh #define HEXAGON_brev_lduh __builtin_brev_lduh #define HEXAGON_brev_ldb __builtin_brev_ldb #define HEXAGON_brev_ldub __builtin_brev_ldub #define HEXAGON_brev_std __builtin_brev_std #define HEXAGON_brev_stw __builtin_brev_stw #define HEXAGON_brev_sth __builtin_brev_sth #define HEXAGON_brev_sthhi __builtin_brev_sthhi #define HEXAGON_brev_stb __builtin_brev_stb #ifdef __HVX__ /* ========================================================================== Assembly Syntax: if (Qt) vmem(Rt+#0) = Vs C Intrinsic Prototype: void Q6_vmaskedstoreq_QAV(HVX_VectorPred Qt, HVX_VectorAddress A, HVX_Vector Vs) Instruction Type: COPROC_VMEM Execution Slots: SLOT0 ========================================================================== */ #define Q6_vmaskedstoreq_QAV __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmaskedstoreq) /* ========================================================================== Assembly Syntax: if (!Qt) vmem(Rt+#0) = Vs C Intrinsic Prototype: void Q6_vmaskedstorenq_QAV(HVX_VectorPred Qt, HVX_VectorAddress A, HVX_Vector Vs) Instruction Type: COPROC_VMEM Execution Slots: SLOT0 ========================================================================== */ #define Q6_vmaskedstorenq_QAV __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmaskedstorenq) /* ========================================================================== Assembly Syntax: if (Qt) vmem(Rt+#0):nt = Vs C Intrinsic Prototype: void Q6_vmaskedstorentq_QAV(HVX_VectorPred Qt, HVX_VectorAddress A, HVX_Vector Vs) Instruction Type: COPROC_VMEM Execution Slots: SLOT0 ========================================================================== */ #define Q6_vmaskedstorentq_QAV __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmaskedstorentq) /* ========================================================================== Assembly Syntax: if (!Qt) vmem(Rt+#0):nt = Vs C Intrinsic Prototype: void Q6_vmaskedstorentnq_QAV(HVX_VectorPred Qt, HVX_VectorAddress A, HVX_Vector Vs) Instruction Type: COPROC_VMEM Execution Slots: SLOT0 ========================================================================== */ #define Q6_vmaskedstorentnq_QAV __BUILTIN_VECTOR_WRAP(__builtin_HEXAGON_V6_vmaskedstorentnq) #endif #endif /* #ifndef _HEXAGON_CIRC_BREV_INTRINSICS_H_ */ #ifdef __NOT_DEFINED__ /*** comment block template ***/ /* ========================================================================== Assembly Syntax: Return=instruction() C Intrinsic Prototype: ReturnType Intrinsic(ParamType Rs, ParamType Rt) Instruction Type: InstructionType Execution Slots: SLOT0123 ========================================================================== */ #endif /*** __NOT_DEFINED__ ***/
[+]
..
[-] riscv_ntlh.h
[edit]
[-] avx512vlbitalgintrin.h
[edit]
[-] avxifmaintrin.h
[edit]
[-] mm_malloc.h
[edit]
[-] avx512vlbf16intrin.h
[edit]
[-] mwaitxintrin.h
[edit]
[-] adxintrin.h
[edit]
[-] arm_cmse.h
[edit]
[-] __clang_cuda_intrinsics.h
[edit]
[-] module.modulemap
[edit]
[-] crc32intrin.h
[edit]
[+]
cuda_wrappers
[-] msa.h
[edit]
[-] __clang_hip_stdlib.h
[edit]
[-] arm_acle.h
[edit]
[-] arm_neon_sve_bridge.h
[edit]
[-] xsaveintrin.h
[edit]
[-] velintrin_gen.h
[edit]
[-] stdatomic.h
[edit]
[-] hvx_hexagon_protos.h
[edit]
[-] uintrintrin.h
[edit]
[-] fxsrintrin.h
[edit]
[-] sha512intrin.h
[edit]
[-] __clang_cuda_texture_intrinsics.h
[edit]
[-] iso646.h
[edit]
[-] unwind.h
[edit]
[-] avx512vlbwintrin.h
[edit]
[-] avxvnniint8intrin.h
[edit]
[-] avx512erintrin.h
[edit]
[-] avxvnniintrin.h
[edit]
[-] ia32intrin.h
[edit]
[-] rdseedintrin.h
[edit]
[-] prfchiintrin.h
[edit]
[-] amxcomplexintrin.h
[edit]
[-] clflushoptintrin.h
[edit]
[-] htmxlintrin.h
[edit]
[-] avx512fintrin.h
[edit]
[-] gfniintrin.h
[edit]
[-] arm_cde.h
[edit]
[+]
ppc_wrappers
[-] amxfp16intrin.h
[edit]
[-] velintrin_approx.h
[edit]
[-] avx512pfintrin.h
[edit]
[-] stdarg.h
[edit]
[-] cmpccxaddintrin.h
[edit]
[-] avx512vlintrin.h
[edit]
[-] __clang_hip_math.h
[edit]
[-] vecintrin.h
[edit]
[-] xtestintrin.h
[edit]
[-] __wmmintrin_aes.h
[edit]
[-] arm_neon.h
[edit]
[-] immintrin.h
[edit]
[-] ammintrin.h
[edit]
[-] waitpkgintrin.h
[edit]
[-] vpclmulqdqintrin.h
[edit]
[-] fmaintrin.h
[edit]
[-] tsxldtrkintrin.h
[edit]
[-] prfchwintrin.h
[edit]
[-] avx512bitalgintrin.h
[edit]
[-] bmiintrin.h
[edit]
[-] __wmmintrin_pclmul.h
[edit]
[-] htmintrin.h
[edit]
[-] mm3dnow.h
[edit]
[-] __clang_cuda_builtin_vars.h
[edit]
[-] __clang_hip_runtime_wrapper.h
[edit]
[-] stdbool.h
[edit]
[-] altivec.h
[edit]
[-] wbnoinvdintrin.h
[edit]
[-] keylockerintrin.h
[edit]
[-] tgmath.h
[edit]
[-] hexagon_circ_brev_intrinsics.h
[edit]
[-] x86intrin.h
[edit]
[-] pkuintrin.h
[edit]
[-] avx512vbmivlintrin.h
[edit]
[-] avxneconvertintrin.h
[edit]
[-] __clang_hip_cmath.h
[edit]
[-] sgxintrin.h
[edit]
[-] f16cintrin.h
[edit]
[-] opencl-c-base.h
[edit]
[-] cpuid.h
[edit]
[-] raointintrin.h
[edit]
[-] builtins.h
[edit]
[-] emmintrin.h
[edit]
[-] smmintrin.h
[edit]
[-] vaesintrin.h
[edit]
[-] larchintrin.h
[edit]
[-] avx512ifmaintrin.h
[edit]
[-] intrin.h
[edit]
[-] avx512vlvp2intersectintrin.h
[edit]
[-] fma4intrin.h
[edit]
[-] pmmintrin.h
[edit]
[-] __clang_hip_libdevice_declares.h
[edit]
[-] limits.h
[edit]
[-] clwbintrin.h
[edit]
[-] rtmintrin.h
[edit]
[-] mmintrin.h
[edit]
[-] stddef.h
[edit]
[-] invpcidintrin.h
[edit]
[-] avx512vp2intersectintrin.h
[edit]
[-] cet.h
[edit]
[-] xopintrin.h
[edit]
[-] avx512vlvnniintrin.h
[edit]
[-] avx512vlfp16intrin.h
[edit]
[-] stdint.h
[edit]
[-] arm64intr.h
[edit]
[-] sm4intrin.h
[edit]
[-] avx512vnniintrin.h
[edit]
[-] avx2intrin.h
[edit]
[-] movdirintrin.h
[edit]
[-] tbmintrin.h
[edit]
[-] arm_mve.h
[edit]
[-] avx512ifmavlintrin.h
[edit]
[-] amxintrin.h
[edit]
[-] opencl-c.h
[edit]
[-] stdalign.h
[edit]
[-] __clang_cuda_device_functions.h
[edit]
[-] pconfigintrin.h
[edit]
[-] avx512fp16intrin.h
[edit]
[-] inttypes.h
[edit]
[-] arm_bf16.h
[edit]
[-] __clang_cuda_math_forward_declares.h
[edit]
[-] vadefs.h
[edit]
[-] shaintrin.h
[edit]
[-] hexagon_protos.h
[edit]
[-] ptwriteintrin.h
[edit]
[-] xsaveoptintrin.h
[edit]
[-] enqcmdintrin.h
[edit]
[-] x86gprintrin.h
[edit]
[-] tmmintrin.h
[edit]
[-] stdnoreturn.h
[edit]
[-] avx512bf16intrin.h
[edit]
[-] varargs.h
[edit]
[-] s390intrin.h
[edit]
[-] avx512vbmiintrin.h
[edit]
[+]
openmp_wrappers
[-] wmmintrin.h
[edit]
[-] __clang_cuda_cmath.h
[edit]
[-] clzerointrin.h
[edit]
[-] xsavesintrin.h
[edit]
[-] __clang_cuda_libdevice_declares.h
[edit]
[-] nmmintrin.h
[edit]
[-] wasm_simd128.h
[edit]
[-] xsavecintrin.h
[edit]
[-] avx512dqintrin.h
[edit]
[-] lwpintrin.h
[edit]
[-] serializeintrin.h
[edit]
[-] arm_sme_draft_spec_subject_to_change.h
[edit]
[-] avxintrin.h
[edit]
[-] __stddef_max_align_t.h
[edit]
[-] sm3intrin.h
[edit]
[-] velintrin.h
[edit]
[-] __clang_cuda_complex_builtins.h
[edit]
[-] armintr.h
[edit]
[-] avx512cdintrin.h
[edit]
[-] float.h
[edit]
[-] avx512vbmi2intrin.h
[edit]
[-] lzcntintrin.h
[edit]
[-] sifive_vector.h
[edit]
[-] rdpruintrin.h
[edit]
[-] arm_sve.h
[edit]
[-] avx512vpopcntdqintrin.h
[edit]
[-] xmmintrin.h
[edit]
[-] hresetintrin.h
[edit]
[-] bmi2intrin.h
[edit]
[-] hexagon_types.h
[edit]
[-] avx512bwintrin.h
[edit]
[-] cetintrin.h
[edit]
[-] __clang_cuda_math.h
[edit]
[-] avx512vlvbmi2intrin.h
[edit]
[-] arm_fp16.h
[edit]
[-] avx512vpopcntdqvlintrin.h
[edit]
[-] avxvnniint16intrin.h
[edit]
[+]
llvm_libc_wrappers
[-] __clang_cuda_runtime_wrapper.h
[edit]
[-] cldemoteintrin.h
[edit]
[-] avx512vldqintrin.h
[edit]
[-] avx512vlcdintrin.h
[edit]
[-] popcntintrin.h
[edit]