This patch adds C intrinsics for Bitmanip Extension.
RISCV_BUILTIN_NO_PREFIX is a new riscv_builtin_description like RISCV_BUILTIN.
But it uses CODE_FOR_##INSN rather than CODE_FOR_riscv_##INSN.
Changed orcb, clmul, brev8 pattern's mode form X to GPR because orcbsi,
clmul_si,
brev8_si are both in
This patch adds C intrinsics for Scalar Crypto Extension.
gcc/ChangeLog:
* config.gcc: Include riscv_crypto.h.
* config/riscv/riscv_crypto.h: New file.
gcc/testsuite/ChangeLog:
* gcc.target/riscv/scalar_crypto_intrinsic-32.c: New test.
* gcc.target/riscv/scalar_c
Update v2 -> v3:
1. Change pattern mode form X to GPR in orcb, clmul, and brev8.
2. Add emulated testsuite.
3. Removed duplicate testsuite between built-in and intrinsic.
4. Typo fix.
Update v1 -> v2:
1. Rename *_intrinsic-* to *_intrinsic-XLEN.
2. Typo fix.
3. Intrinsics with immed
The serials patch provides a mapping from the RV intrinsics to the builtin
names.
There are some duplicates testsuites between intrinsic and built-in function.
Remove the Scalar Bitmanip and Scalar Crypto Built-In function testsuites
that will be included in the intrinsic functions.
gcc/testsuit
Your reader does not support HTML
Dear
Good day~This is Eva from VITA Company.
VITA offer full air,sea and road freight service from China main ports and
area,focused on cross-border logistics and transportation service between China
and Indonesia since its establishment
Our range of service ext
The problem with peephole2 is it uses a naive sliding-window algorithm
and misses many cases. For example:
float a[1];
float t() { return a[0] + a[8000]; }
is compiled to:
la.local$r13,a
la.local$r12,a+32768
fld.s $f1,$r13,0
fld.s $f0,$r12,-768
LGTM :)
On Mon, Dec 25, 2023 at 5:18 PM Juzhe-Zhong wrote:
>
> Currently, we compute RVV V_REGS liveness during better_main_loop_than_p
> which is not appropriate
> time to do that since we for example, when have the codes will finally pick
> LMUL = 8 vectorization
> factor, we compute liveness
Hi All,
when configured with --enable-checking=release we get a false
positive on the use of vec_stmts as the compiler seems unable
to notice it gets initialized through the pass-by-reference.
This explicitly initializes the local.
Bootstrapped Regtested on x86_64-pc-linux-gnu and no issues.
Co
On Linux/x86_64,
01f4251b8775c832a92d55e2df57c9ac72eaceef is the first bad commit
commit 01f4251b8775c832a92d55e2df57c9ac72eaceef
Author: Tamar Christina
Date: Sun Dec 24 19:18:12 2023 +
middle-end: Support vectorization of loops with multiple exits.
caused
FAIL: gcc.target/i386/sse4
On Linux/x86_64,
01f4251b8775c832a92d55e2df57c9ac72eaceef is the first bad commit
commit 01f4251b8775c832a92d55e2df57c9ac72eaceef
Author: Tamar Christina
Date: Sun Dec 24 19:18:12 2023 +
middle-end: Support vectorization of loops with multiple exits.
caused
FAIL: 25_algorithms/partit
On Linux/x86_64,
2fa122cae50cd87c1262c4ec18a783ee9bbbdaaa is the first bad commit
commit 2fa122cae50cd87c1262c4ec18a783ee9bbbdaaa
Author: Jason Merrill
Date: Thu Dec 21 16:16:37 2023 -0500
testsuite: suppress mangling compatibility aliases
caused
FAIL: g++.dg/abi/mangle-regparm1a.C -std
On Mon, 2023-12-25 at 10:08 +0800, chenglulu wrote:
>
> 在 2023/12/24 下午8:59, Xi Ruoyao 写道:
> > On Sat, 2023-12-23 at 18:47 +0800, Xi Ruoyao wrote:
> > > On Sat, 2023-12-23 at 18:44 +0800, Xi Ruoyao wrote:
> > > > On Sat, 2023-12-23 at 10:29 +0800, chenglulu wrote:
> > > > > > The performance drop
On Mon, 2023-12-25 at 11:20 +0800, Li Wei wrote:
> We found that using the latest compiled gcc will cause a miscompare error
> when running spec2006 400.perlbench test with -flto turned on. After testing,
> it was found that only the LoongArch architecture will report errors.
> The first error com
Currently, we compute RVV V_REGS liveness during better_main_loop_than_p which
is not appropriate
time to do that since we for example, when have the codes will finally pick
LMUL = 8 vectorization
factor, we compute liveness for LMUL = 8 multiple times which are redundant.
Since we have leverage
`interrupt` function will backup fcsr register, but it fixed to SImode,
it's not big issue since fcsr only used 8 bits so far, however the
offset should still using UNITS_PER_WORD to prevent the stack offset
become non 8 byte aligned, it will cause problem for RV64.
gcc/ChangeLog:
* confi
Yes, I am testing a patch. The DECL_FIELD_BIT_OFFSET are set
inconsistently for some reason.
Martin
Am Montag, dem 25.12.2023 um 07:49 + schrieb Jiang, Haochen:
> It is not a target specific issue, it will fail if we enabled AVX.
>
> e.g.:
>
> $ /export/users/haochenj/env/build_no_bootst
OK.
juzhe.zh...@rivai.ai
From: Jun Sha (Joshua)
Date: 2023-12-25 16:14
To: gcc-patches
CC: jim.wilson.gcc; palmer; andrew; philipp.tomsich; jeffreyalaw;
christoph.muellner; juzhe.zhong; Jun Sha (Joshua); Jin Ma; Xianmiao Qu
Subject: [PATCH v4 4/6] RISC-V: Adds the prefix "th." for the instruc
This patch adds th. prefix to all XTheadVector instructions by
implementing new assembly output functions. In this version, we
follow Kito's suggestions and only check the prefix is 'v', so that
no extra attribute is needed.
gcc/ChangeLog:
* config/riscv/riscv-protos.h (riscv_asm_output
18 matches
Mail list logo