https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114514
>From bfd9e855bc1c91bee6c39e388f20be48db8dfd8f Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:28:12 +0800
Subject: [PATCH] [LoongArch][Clang] Make the parameters and return value of
{x,}vorn.v
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114513
>From 0d62818ddfa1d6b99afca4653a9f47478f301b32 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:22:09 +0800
Subject: [PATCH] [LoongArch][Clang] Make the parameters and return value of
{x,}vxor.v
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114514
>From c1b7b79e7027ad7fed410c1783113228173843f1 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:17:44 +0800
Subject: [PATCH 1/3] [LoongArch][Clang] Make the parameters and return value
of {x,}vs
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114513
>From c1b7b79e7027ad7fed410c1783113228173843f1 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:17:44 +0800
Subject: [PATCH 1/2] [LoongArch][Clang] Make the parameters and return value
of {x,}vs
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114512
>From c1b7b79e7027ad7fed410c1783113228173843f1 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:17:44 +0800
Subject: [PATCH] [LoongArch][Clang] Make the parameters and return value of
{x,}vshuf.
xry111 wrote:
> Is it the time to remove the FIXME in those tests?
There are several random inconsistencies and I separated the fixes into
multiple PRs as suggested by Xuerui. The FIXME is removed in #114513.
https://github.com/llvm/llvm-project/pull/114511
___
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114512
>From ef96a6e483030e649d69ffa778c0b0f229bbb739 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:13:29 +0800
Subject: [PATCH 1/2] [LoongArch][Clang] Make the parameter and return value of
{x,}vms
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114514
>From ef96a6e483030e649d69ffa778c0b0f229bbb739 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:13:29 +0800
Subject: [PATCH 1/4] [LoongArch][Clang] Make the parameter and return value of
{x,}vms
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114513
>From ef96a6e483030e649d69ffa778c0b0f229bbb739 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:13:29 +0800
Subject: [PATCH 1/3] [LoongArch][Clang] Make the parameter and return value of
{x,}vms
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114513
>From 3d65a59473580f1c0e0b57bdd7fb13c9f40d3077 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:07:17 +0800
Subject: [PATCH 1/4] [LoongArch][clang] Use `signed char` vectors instead of
`char` ve
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114511
>From ef96a6e483030e649d69ffa778c0b0f229bbb739 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:13:29 +0800
Subject: [PATCH] [LoongArch][Clang] Make the parameter and return value of
{x,}vmsknz.
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114514
>From 3d65a59473580f1c0e0b57bdd7fb13c9f40d3077 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:07:17 +0800
Subject: [PATCH 1/5] [LoongArch][clang] Use `signed char` vectors instead of
`char` ve
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114512
>From 3d65a59473580f1c0e0b57bdd7fb13c9f40d3077 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:07:17 +0800
Subject: [PATCH 1/3] [LoongArch][clang] Use `signed char` vectors instead of
`char` ve
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114511
>From 3d65a59473580f1c0e0b57bdd7fb13c9f40d3077 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:07:17 +0800
Subject: [PATCH 1/2] [LoongArch][clang] Use `signed char` vectors instead of
`char` ve
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114510
>From 3d65a59473580f1c0e0b57bdd7fb13c9f40d3077 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:07:17 +0800
Subject: [PATCH] [LoongArch][clang] Use `signed char` vectors instead of
`char` vector
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114512
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH 1/4] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114514
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH 1/6] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114511
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH 1/3] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114513
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH 1/5] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114510
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH 1/2] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/
@@ -0,0 +1,6 @@
+// REQUIRES: loongarch-registered-target
+// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature
+lasx
xry111 wrote:
Done.
https://github.com/llvm/llvm-project/pull/114509
___
c
@@ -0,0 +1,6 @@
+// REQUIRES: loongarch-registered-target
+// RUN: %clang_cc1 %s -fsyntax-only -triple loongarch64-linux -target-feature
+lasx
xry111 wrote:
-linux dropped. I just mistakenly thought a triple had to have the os field.
https://github.com/llvm/ll
@@ -0,0 +1,6 @@
+// REQUIRES: loongarch-registered-target
xry111 wrote:
Dropped.
https://github.com/llvm/llvm-project/pull/114509
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/m
https://github.com/xry111 updated
https://github.com/llvm/llvm-project/pull/114509
>From dd6a7a7d8446281b948c75b10dd40bacbb23daa8 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH] [LoongArch][Clang] Add tests for #110834
---
clang/test/Headers/lasx
https://github.com/xry111 edited
https://github.com/llvm/llvm-project/pull/114510
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114510
`-flax-vector-conversions=none` does not allow an implicit conversion
from `signed char` vector to `char` vector, and we cannot remove `signed`
from `v16i8` or `v32i8` because doing so will break our expectation w
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114513
The lsxintrin.h and and lasxintrin.h headers uses `unsigned char`
vectors instead of `signed char` vectors. GCC also uses `unsigned char`
for them, so align their definition with the headers and GCC.
Fixes #
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114514
All other bitwise vector builtins use `unsigned char` vector operands,
so it does not make too much sense to use `signed char` for the orn
operation alone.
The same change has been also proposed for GCC:
http
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114512
The lsxintrin.h and and lasxintrin.h headers uses `signed char` vectors
instead of `unsigned char` vectors. GCC also uses `signed char` for
them, so align their definition with the headers and GCC.
Depends on #1
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114511
These builtins operate on int8 vectors, not int16 vectors. So the old
definition does not make any sense.
Depends on #114510. Part of #110834 fix.
>From 1bbbc1c38715f42e6014ee319d76af9a4015e4d5 Mon Sep 17 00:0
https://github.com/xry111 created
https://github.com/llvm/llvm-project/pull/114509
None
>From 1bbbc1c38715f42e6014ee319d76af9a4015e4d5 Mon Sep 17 00:00:00 2001
From: Xi Ruoyao
Date: Fri, 1 Nov 2024 00:00:14 +0800
Subject: [PATCH] [LoongArch][Clang] Add tests for #110834
---
clang/test/Header
xry111 wrote:
I'm really not a fan of enabling frame pointer by default. And enabling
-fasynchronous-unwind-table is at least consistent with GCC.
https://github.com/llvm/llvm-project/pull/94711
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
xry111 wrote:
> is it too late to change the gcc attribute name?
It has been released in GCC 13, and GCC 14 is in stage 3 so a change must be
deferred into GCC 15. And the kernel code already relies on it. So a change
will render all previous kernel releases impossible to build with GCC 13/1
xry111 wrote:
> Do folks feel like the attribute name is sufficiently descriptive? i.e.
> should it be `__attribute__((code_model("asdf")))`? Are we aiming for GCC
> compat here? What guides the naming choice?
Yes, for GCC compat, so we don't need to add more #ifdef's in kernel.
As the author
xry111 wrote:
> And AFAIK, gcc side doesn't plan to implement the "large" code model.
Why did we distinguish "large" and "extreme" in the first place? If we don't
need a different "large" code model then I guess we should make it an alias of
"extreme" for GCC too.
https://github.com/llvm/llv
xry111 wrote:
cc @MaskRay
https://github.com/llvm/llvm-project/pull/71887
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
xry111 wrote:
Suggest to add "Fixes #71645" in the message.
https://github.com/llvm/llvm-project/pull/71887
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
xry111 wrote:
LGTM. I've no permission to make a formal ("GitHub style") approval.
https://github.com/llvm/llvm-project/pull/70320
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
38 matches
Mail list logo