[all-commits] [llvm/llvm-project] c7fb0e: [clang][x86] Add constexpr support for ADC/SBB + A...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Oct 2 07:45:25 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7fb0eed05e768093fc202e94df1c0d88fd7c2f0
https://github.com/llvm/llvm-project/commit/c7fb0eed05e768093fc202e94df1c0d88fd7c2f0
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2024-10-02 (Wed, 02 Oct 2024)
Changed paths:
M clang/docs/LanguageExtensions.rst
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/BuiltinsX86.def
M clang/include/clang/Basic/BuiltinsX86_64.def
M clang/lib/AST/ExprConstant.cpp
M clang/lib/Headers/adcintrin.h
M clang/lib/Headers/adxintrin.h
M clang/test/CodeGen/X86/adc-builtins.c
M clang/test/CodeGen/X86/adx-builtins.c
Log Message:
-----------
[clang][x86] Add constexpr support for ADC/SBB + ADX intrinsics (#110668)
ADC and ADX use the same internal intrinsics - for testing I've taken the same approach as the generic builtin overflow tests, putting the intrinsics in a constexpr test wrapper and comparing the carry/result value pair.
I've added the addcarry/subborrow intrinsics to the clang language extension list - I'm not sure if we want to add all ISA intrinsics to the list (although we can if people think it useful?), but I felt we should at least include the baseline x86 intrinsics.
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