[08/61] Testsuite: Accept jrc for clear cache intrinsic

Message ID 20250131171232.1018281-10-aleksandar.rakic@htecgroup.com
State Committed
Commit 7c48d3e49b5417bd26beea7eb832fa9ca5caf38e
Headers
Series Improve Mips target |

Commit Message

Aleksandar Rakic Jan. 31, 2025, 5:13 p.m. UTC
  From: Matthew Fortune <matthew.fortune@imgtec.com>

Cherry-picked e8186b2f4b5e843a83775a10f923916c4c9253a5
from https://github.com/MIPS/gcc

Signed-off-by: Matthew Fortune <matthew.fortune@imgtec.com>
Signed-off-by: Faraz Shahbazker <fshahbazker@wavecomp.com>
Signed-off-by: Aleksandar Rakic <aleksandar.rakic@htecgroup.com>
---
 gcc/testsuite/gcc.target/mips/clear-cache-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jeffrey Law April 21, 2025, 3:55 p.m. UTC | #1
On 1/31/25 10:13 AM, Aleksandar Rakic wrote:
> From: Matthew Fortune <matthew.fortune@imgtec.com>
> 
> Cherry-picked e8186b2f4b5e843a83775a10f923916c4c9253a5
> from https://github.com/MIPS/gcc
> 
> Signed-off-by: Matthew Fortune <matthew.fortune@imgtec.com>
> Signed-off-by: Faraz Shahbazker <fshahbazker@wavecomp.com>
> Signed-off-by: Aleksandar Rakic <aleksandar.rakic@htecgroup.com>
> ---
>   gcc/testsuite/gcc.target/mips/clear-cache-1.c | 2 +-
Thanks.  I've pushed this to the trunk.

jeff
  

Patch

diff --git a/gcc/testsuite/gcc.target/mips/clear-cache-1.c b/gcc/testsuite/gcc.target/mips/clear-cache-1.c
index f1554f593dc..cd11c665b93 100644
--- a/gcc/testsuite/gcc.target/mips/clear-cache-1.c
+++ b/gcc/testsuite/gcc.target/mips/clear-cache-1.c
@@ -1,7 +1,7 @@ 
 /* { dg-do compile } */
 /* { dg-options "-msynci isa_rev>=2" } */
 /* { dg-final { scan-assembler "\tsynci\t" } } */
-/* { dg-final { scan-assembler "\tjr.hb\t" } } */
+/* { dg-final { scan-assembler "\tjrc?.hb\t" } } */
 /* { dg-final { scan-assembler-not "_flush_cache|mips_sync_icache|_cacheflush" } } */
 
 NOMIPS16 void f()