[clang] Remove xbegin and _xend (PR #126952)

2025-02-22 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/126952 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86] Allow using the lzcnt intrinsics for non-LZCNT targets (PR #128284)

2025-02-22 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang updated https://github.com/llvm/llvm-project/pull/128284 >From eef9ec3ca38a2ba1dd12c8a8f8bfcacf38ab7926 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sat, 22 Feb 2025 12:20:09 +0800 Subject: [PATCH 1/2] [X86] Allow using the lzcnt intrinsics for non-LZCNT ta

[clang] [X86] Allow using the lzcnt intrinsics for non-LZCNT targets (PR #128284)

2025-02-22 Thread Phoebe Wang via cfe-commits
@@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -x c -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +lzcnt -emit-llvm -o - | FileCheck %s -// RUN: %clang_cc1 -x c++ -std=c++11 -ffreestanding %s -triple=x86_64-apple-darwin -target-feature +lzcnt -emit-llvm -o - | FileCheck %s

[clang] [X86] Allow using the lzcnt intrinsics for non-LZCNT targets (PR #128284)

2025-02-22 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/128284 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][CodeGen] - Use shift operators instead of built-ins for SSE emulation of MMX intrinsics. (PR #129197)

2025-02-28 Thread Phoebe Wang via cfe-commits
@@ -880,11 +880,11 @@ _mm_sll_si64(__m64 __m, __m64 __count) ///A 32-bit integer value. /// \returns A 64-bit integer vector containing the left-shifted value. If /// \a __count is greater or equal to 64, the result is set to 0. -static __inline__ __m64 __DEFAULT_FN_ATT

[clang] [llvm] [X86][CodeGen] - Use shift operators instead of built-ins for SSE emulation of MMX intrinsics. (PR #129197)

2025-02-28 Thread Phoebe Wang via cfe-commits
@@ -880,11 +880,11 @@ _mm_sll_si64(__m64 __m, __m64 __count) ///A 32-bit integer value. /// \returns A 64-bit integer vector containing the left-shifted value. If /// \a __count is greater or equal to 64, the result is set to 0. -static __inline__ __m64 __DEFAULT_FN_ATT

[clang] [clang] Pass fp128 indirectly and return in xmm0 on Windows (PR #115052)

2025-03-06 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/115052 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Add comments for the avx10_2convertintrin.h file (PR #120766)

2025-02-27 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/120766 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-03-19 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > Went through the patch with my eyes, I'm not sure how useful it was but > wasn't able to spot anything. > > > Here is GCC patch: > > https://gcc.gnu.org/pipermail/gcc-patches/2025-March/678227.html > > I haven't found any changes regarding `vcvt2ph2` and no other similar

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-03-20 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > > > > Went through the patch with my eyes, I'm not sure how useful it was but > > > > wasn't able to spot anything. > > > > > Here is GCC patch: > > > > > https://gcc.gnu.org/pipermail/gcc-patches/2025-March/678227.html > > > > > > > > > > > > I haven't found any changes r

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-03-18 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang ready_for_review https://github.com/llvm/llvm-project/pull/131592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-03-19 Thread Phoebe Wang via cfe-commits
phoebewang wrote: Here is GCC patch: https://gcc.gnu.org/pipermail/gcc-patches/2025-March/678227.html https://github.com/llvm/llvm-project/pull/131592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listi

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-03-20 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > should be cvts_biasph_hf8 :) Good catch! Proves moving the s ahead is wisdom :) https://github.com/llvm/llvm-project/pull/131592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VMINMAXP[H,S,D] (PR #132405)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/132405 Ref: https://cdrdv2.intel.com/v1/dl/getContent/784343 >From 4da792e1397d893b4be997039d24cf933d9702b9 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Fri, 21 Mar 2025 22:42:10 +0800 Subject: [PATCH] [X86]

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VMINMAXP[H,S,D] (PR #132405)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang updated https://github.com/llvm/llvm-project/pull/132405 >From 4da792e1397d893b4be997039d24cf933d9702b9 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Fri, 21 Mar 2025 22:42:10 +0800 Subject: [PATCH 1/2] [X86][AVX10.2] Remove YMM rounding from VMINMAXP[H,S,D]

[clang] [llvm] Revert "[X86][AVX10.2] Support YMM rounding new instructions (#101825)" (PR #132362)

2025-03-21 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > LGTM - do we have to remove avx10-256 as well (and just use prefer vector > width) or will that remain in some form? Yes, we will remove avx10-256 and evex512 finally. https://github.com/llvm/llvm-project/pull/132362 ___ cfe-commi

[clang] [llvm] Revert "[X86][AVX10.2] Support YMM rounding new instructions (#101825)" (PR #132362)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132362 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVT[,T]PS2I[,U]BS (PR #132426)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132426 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVTTP.*QS (PR #132414)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/132414 Ref: https://cdrdv2.intel.com/v1/dl/getContent/784343 >From 096e0b112724176f3d4893657580588a021d2224 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Fri, 21 Mar 2025 23:53:15 +0800 Subject: [PATCH] [X86]

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VMINMAXP[H,S,D] (PR #132405)

2025-03-21 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132405 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVT[,T]PS2I[,U]BS (PR #132426)

2025-03-21 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > LGTM. Clang format changes look valid. I think the `(__mmask8) - 1` doesn't make sense. Seems clang-format takes `__mmask8` as a variable rather than a type. It appares since some version and really annoying. https://github.com/llvm/llvm-project/pull/132426 ___

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 and m[no-]evex512 (PR #132542)

2025-03-30 Thread Phoebe Wang via cfe-commits
phoebewang wrote: Ping? https://github.com/llvm/llvm-project/pull/132542 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 and m[no-]evex512 (PR #132542)

2025-03-31 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > LGTM - but we need to add a full explanation to the clang/llvm release notes > explaining the avx10 changes/deprecations (and future removal). Good reminder! Done. https://github.com/llvm/llvm-project/pull/132542 ___ cfe-commits m

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 and m[no-]evex512 (PR #132542)

2025-03-31 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132542 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 and m[no-]evex512 (PR #132542)

2025-03-31 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang updated https://github.com/llvm/llvm-project/pull/132542 >From 9a8d9b7d5d3f07685579c3d1336e146755bb7efa Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sat, 22 Mar 2025 19:15:01 +0800 Subject: [PATCH 1/3] [X86][AVX10] Re-target mavx10.1 and emit warning for ma

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 (PR #132542)

2025-03-22 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/132542 The 256-bit maximum vector register size control was removed from AVX10 whitepaper, ref: https://cdrdv2.intel.com/v1/dl/getContent/784343 - Re-target m[no-]avx10.1 to enable AVX10.1 with 512-bit maximum vect

[clang] [X86][AVX10.2] Replace nepbh with bf16 to match with others, NFCI (PR #134240)

2025-04-03 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/134240 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10] Re-target mavx10.1 and emit warning for mavx10.x-256/512 (PR #132542)

2025-03-26 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang updated https://github.com/llvm/llvm-project/pull/132542 >From 9a8d9b7d5d3f07685579c3d1336e146755bb7efa Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sat, 22 Mar 2025 19:15:01 +0800 Subject: [PATCH 1/2] [X86][AVX10] Re-target mavx10.1 and emit warning for ma

[clang] [X86][AVX10.2] Replace nepbh with bf16 to match with others, NFCI (PR #134240)

2025-04-03 Thread Phoebe Wang via cfe-commits
phoebewang wrote: > are we missing clang codegen tests for these? No, we don't generate these intrinsics. They will be transformed to llvm.fma ones. https://github.com/llvm/llvm-project/pull/134240 ___ cfe-commits mailing list cfe-commits@lists.llvm.

[clang] [X86][AVX10.2] Replace nepbh with bf16 to match with others, NFCI (PR #134240)

2025-04-03 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/134240 None >From cf4be7b5e130593f54752066b1ab569da9cc12fa Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Thu, 3 Apr 2025 20:23:08 +0800 Subject: [PATCH] [X86][AVX10.2] Replace nepbh with bf16 to match with ot

[clang] [X86][AVX10] Make warning message more informative, NFCI (PR #134528)

2025-04-06 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/134528 None >From 04852072c016e6df3c9b6d834ba34c443593aa04 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sun, 6 Apr 2025 18:22:22 +0800 Subject: [PATCH] [X86][AVX10] Make warning message more informative, NFC

[clang] [X86][AMX] Add missing __inline__ for AMXCOMPLEX intrinsics, NFCI (PR #134484)

2025-04-05 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/134484 Found by #64779. >From b04e443d3569ec2ed352e127bf6fbfe0902b1ee1 Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Sat, 5 Apr 2025 15:03:17 +0800 Subject: [PATCH] [X86][AMX] Add missing __inline__ for AMXCO

[clang] [X86][AMX] Add missing __inline__ for AMXCOMPLEX intrinsics, NFCI (PR #134484)

2025-04-05 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/134484 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10.2] Use 's_' for saturate-convert intrinsics (PR #131592)

2025-04-05 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang edited https://github.com/llvm/llvm-project/pull/131592 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVTTP.*QS (PR #132414)

2025-04-05 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132414 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVT2PS2PHX (PR #132397)

2025-04-05 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang created https://github.com/llvm/llvm-project/pull/132397 Ref: https://cdrdv2.intel.com/v1/dl/getContent/784343 >From a8353b285f99b57a3d4ce28add512debc8761d5a Mon Sep 17 00:00:00 2001 From: "Wang, Phoebe" Date: Fri, 21 Mar 2025 20:54:06 +0800 Subject: [PATCH] [X86]

[clang] [llvm] [X86][AVX10.2] Remove YMM rounding from VCVT2PS2PHX (PR #132397)

2025-04-04 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/132397 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][AVX10] Make warning message more informative, NFCI (PR #134528)

2025-04-06 Thread Phoebe Wang via cfe-commits
https://github.com/phoebewang closed https://github.com/llvm/llvm-project/pull/134528 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

<    5   6   7   8   9   10