[clang] Fixed vec_pack_to_short_fp32 in Clang altivec.h (PR #129923)

2025-03-07 Thread John Platts via cfe-commits
https://github.com/johnplatts updated https://github.com/llvm/llvm-project/pull/129923 >From 0bfa20f7a2deaf61e04f7418f4571a9d6de4 Mon Sep 17 00:00:00 2001 From: John Platts Date: Wed, 5 Mar 2025 13:11:15 -0600 Subject: [PATCH 1/3] Fixed vec_pack_to_short_fp32 in Clang altivec.h --- clang/

[clang] Fixed vec_pack_to_short_fp32 in Clang altivec.h (PR #129923)

2025-03-06 Thread John Platts via cfe-commits
johnplatts wrote: I have discovered that there is a bug in the VSX `vec_pack_to_short_fp32(a, b)` intrinsic with GCC on big-endian POWER9 (but not little-endian POWER9), where `vec_pack_to_short_fp32(a, b)` returns `{b[0], b[1], b[2], b[3], a[0], a[1], a[2], a[3]}` instead of the expected `{a[

[clang] Fixed vec_pack_to_short_fp32 in Clang altivec.h (PR #129923)

2025-03-05 Thread John Platts via cfe-commits
https://github.com/johnplatts created https://github.com/llvm/llvm-project/pull/129923 Fixes bug in vec_pack_to_short_fp32 in clang/lib/Headers/altivec.h. Resolves issue #60822 Reviewer: @lei137 >From 0bfa20f7a2deaf61e04f7418f4571a9d6de4 Mon Sep 17 00:00:00 2001 From: John Platts Date: W

[clang] Fixed vec_pack_to_short_fp32 in Clang altivec.h (PR #129923)

2025-05-10 Thread John Platts via cfe-commits
https://github.com/johnplatts updated https://github.com/llvm/llvm-project/pull/129923 >From 0bfa20f7a2deaf61e04f7418f4571a9d6de4 Mon Sep 17 00:00:00 2001 From: John Platts Date: Wed, 5 Mar 2025 13:11:15 -0600 Subject: [PATCH 1/3] Fixed vec_pack_to_short_fp32 in Clang altivec.h --- clang/

[clang] Fixed vec_pack_to_short_fp32 in Clang altivec.h (PR #129923)

2025-05-14 Thread John Platts via cfe-commits
johnplatts wrote: @lei137 What is the status of merging this pull request? https://github.com/llvm/llvm-project/pull/129923 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits