From 4afdfa37953f984fcfcc82fff93a3c04a7bd59a0 Mon Sep 17 00:00:00 2001 From: Will Schmidt Date: Mon, 24 Sep 2018 15:47:22 +0000 Subject: [PATCH] re PR target/86952 (Avoid jump table for switch statement with -mindirect-branch=thunk) [testsuite] 2018-09-24 Will Schmidt PR testsuite/86952 * gcc.target/powerpc/p8-vec-xl-xst-v2.c: Add and update expected codegen From-SVN: r264538 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c | 5 ++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cf1add78d2b..b344f502c77 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-09-24 Will Schmidt + + PR testsuite/86952 + * gcc.target/powerpc/p8-vec-xl-xst-v2.c: Add and + update expected codegen + 2018-09-24 Cesar Philippidis * gfortran.dg/goacc/nested-parallelism.f90: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c index cc68ceb87ca..6f48d72de65 100644 --- a/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c +++ b/gcc/testsuite/gcc.target/powerpc/p8-vec-xl-xst-v2.c @@ -59,6 +59,5 @@ bartle (vector unsigned short x, unsigned short * address) vec_xst (x, 0, address); } -/* { dg-final { scan-assembler-times "lvx" 4 } } */ -/* { dg-final { scan-assembler-times "stvx" 4 } } */ -/* { dg-final { scan-assembler-times "xxpermdi" 0 } } */ +/* { dg-final { scan-assembler-times {\mlxvd2x\M} 4 } } */ +/* { dg-final { scan-assembler-times {\mstxvd2x\M} 4 } } */ -- 2.30.2