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
This commit is contained in:
Adhemerval Zanella 2015-02-25 22:18:19 +00:00 committed by Peter Bergner
parent 2b8f9c8f36
commit 313123e753
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* config/rs6000/htm.md (tcheck): Fix assembly encoding.
2015-02-25 Uros Bizjak <ubizjak@gmail.com>
Revert:

View File

@ -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")])

View File

@ -1,3 +1,7 @@
2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
* gcc.target/powerpc/htm-builtin-1.c: Fix tcheck expect value.
2015-02-25 Pat Haugen <pthaugen@us.ibm.com>
* gcc.target/powerpc/direct-move.h: Include string.h/stdlib.h.

View File

@ -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 } } */