Projects
openEuler:24.03:SP1:Everything
gcc
_service:tar_scm:LoongArch-Fix-up-memcpy-vec-3....
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:LoongArch-Fix-up-memcpy-vec-3.c-test-case.patch of Package gcc
From 78896e68f50164af7827e8da01a7220764d1e296 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao <xry111@xry111.site> Date: Sat, 9 Sep 2023 16:18:06 +0800 Subject: [PATCH 075/124] LoongArch: Fix up memcpy-vec-3.c test case The generic code will split 16-byte copy into two 8-byte copies, so the vector code wouldn't be used even if -mno-strict-align. This contradicted with the purpose of this test case. gcc/testsuite/ChangeLog: * gcc.target/loongarch/memcpy-vec-3.c: Increase the amount of copied bytes to 32. Signed-off-by: Peng Fan <fanpeng@loongson.cn> Signed-off-by: ticat_fp <fanpeng@loongson.cn> --- gcc/testsuite/gcc.target/loongarch/memcpy-vec-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/loongarch/memcpy-vec-3.c b/gcc/testsuite/gcc.target/loongarch/memcpy-vec-3.c index 233ed2150..db2ea510b 100644 --- a/gcc/testsuite/gcc.target/loongarch/memcpy-vec-3.c +++ b/gcc/testsuite/gcc.target/loongarch/memcpy-vec-3.c @@ -3,4 +3,4 @@ /* { dg-final { scan-assembler-not "vst" } } */ extern char a[], b[]; -void test() { __builtin_memcpy(a, b, 16); } +void test() { __builtin_memcpy(a, b, 32); } -- 2.33.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2