public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4897] Update MicroBlaze strings test
@ 2020-11-11  0:24 Jeff Law
  0 siblings, 0 replies; only message in thread
From: Jeff Law @ 2020-11-11  0:24 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9179d9da39cf6e72ab870647db893ef69316b103

commit r11-4897-g9179d9da39cf6e72ab870647db893ef69316b103
Author: Nagaraju Mekala <nmekala@xilinx.com>
Date:   Tue Nov 10 17:23:18 2020 -0700

    Update MicroBlaze strings test
    
    gcc/testsuite
    
            * gcc.target/microblaze/others/strings1.c: Update
            to include $LC label.

Diff:
---
 gcc/testsuite/gcc.target/microblaze/others/strings1.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/microblaze/others/strings1.c b/gcc/testsuite/gcc.target/microblaze/others/strings1.c
index 7a63faf79f2..efaf3c660ea 100644
--- a/gcc/testsuite/gcc.target/microblaze/others/strings1.c
+++ b/gcc/testsuite/gcc.target/microblaze/others/strings1.c
@@ -1,13 +1,14 @@
 /* { dg-options "-O3" } */
+/* { dg-final { scan-assembler "\.rodata*" } } */
+/* { dg-final { scan-assembler "addik\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),\\\$LC.*" } } */
+/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),*" } } */
 
 #include <string.h>
 
-/* { dg-final { scan-assembler "\.rodata*" } } */
 extern void somefunc (char *);
 int testfunc ()
 {
     char string2[80];
-/* { dg-final { scan-assembler "\lwi\tr(\[0-9]\|\[1-2]\[0-9]\|3\[0-1]),r0,.LC*" } } */    
     strcpy (string2, "hello");
     somefunc (string2);
 }


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-11  0:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-11  0:24 [gcc r11-4897] Update MicroBlaze strings test Jeff Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).