From 313123e753cee2db262aa979a10898fc64879b34 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 25 Feb 2015 22:18:19 +0000 Subject: [PATCH] htm.md (tcheck): Fix assembly encoding. gcc/ * config/rs6000/htm.md (tcheck): Fix assembly encoding. gcc/testsuite/ * gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value. From-SVN: r220992 --- ChangeLog | 4 ++++ gcc/config/rs6000/htm.md | 2 +- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c | 2 +- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7875e4f09dd..3b069cb1c95 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Adhemerval Zanella + + * config/rs6000/htm.md (tcheck): Fix assembly encoding. + 2015-02-25 Uros Bizjak Revert: diff --git a/gcc/config/rs6000/htm.md b/gcc/config/rs6000/htm.md index 2c4689fcca3..79fb740521a 100644 --- a/gcc/config/rs6000/htm.md +++ b/gcc/config/rs6000/htm.md @@ -252,7 +252,7 @@ (unspec_volatile:CC [(match_operand 0 "u3bit_cint_operand" "n")] UNSPECV_HTM_TCHECK))] "TARGET_HTM" - "tcheck. %0" + "tcheck %0" [(set_attr "type" "htm") (set_attr "length" "4")]) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 28db896e243..29fa2f0c29f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2015-02-25 Adhemerval Zanella + + * gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value. + 2015-02-25 Pat Haugen * gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h. diff --git a/gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c b/gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c index e58816a7f0f..62d64e6129c 100644 --- a/gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c +++ b/gcc/testsuite/gcc.target/powerpc/htm-builtin-1.c @@ -10,7 +10,7 @@ /* { dg-final { scan-assembler-times "tabortdci\\." 1 } } */ /* { dg-final { scan-assembler-times "tabortwc\\." 1 } } */ /* { dg-final { scan-assembler-times "tabortwci\\." 2 } } */ -/* { dg-final { scan-assembler-times "tcheck\\." 1 } } */ +/* { dg-final { scan-assembler-times "tcheck" 1 } } */ /* { dg-final { scan-assembler-times "trechkpt\\." 1 } } */ /* { dg-final { scan-assembler-times "treclaim\\." 1 } } */ /* { dg-final { scan-assembler-times "tsr\\." 3 } } */ -- 2.30.2