Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SIMD clang builtin fixes #101

Merged
merged 2 commits into from
Dec 28, 2023

Commits on Dec 27, 2023

  1. [RISCV][CV-SIMD] Immediate arg of shuffle.sci.* builtins to const fold

    Set the immediate argument of the clang builtins for shuffle.sci.h
    and shuffle.sci.b to constant fold.
    PaoloS02 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    54fe511 View commit details
    Browse the repository at this point in the history
  2. [RISCV][CV-SIMD] Check value range of constant operands of simd built…

    …ins.
    
    Add a check for the constant operands of SIMD clang builtins to
    be in range.
    This is added for the builtins: add.h, sub.h, shuffle.sci.h (the b
    version uses all the bits of the constant operand and so no need for
    a custom range check), cplxmul.r, cplxmul.i, subrotmj.
    
    Add test cases for the corresponding out of range errors.
    Use in range values in simd.c test for shuffle.sci.h.
    PaoloS02 committed Dec 27, 2023
    Configuration menu
    Copy the full SHA
    99167f3 View commit details
    Browse the repository at this point in the history