Commit 487ebcbf by Oleg Endo

sh.opt (menable-tas): Rename to mtas.

	* config/sh/sh.opt (menable-tas): Rename to mtas.
	* doc/invoke.texi (SH options): Likewise.
	* config/sh/sync.md: Update comments.

From-SVN: r190782
parent 7fa4bf9b
2012-08-29 Oleg Endo <olegendo@gcc.gnu.org> 2012-08-29 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/sh.opt (menable-tas): Rename to mtas.
* doc/invoke.texi (SH options): Likewise.
* config/sh/sync.md: Update comments.
2012-08-29 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/iterators.md: New file. * config/sh/iterators.md: New file.
* config/sh/sync.md (I124, I12, i124suffix): Delete. Replace usage with * config/sh/sync.md (I124, I12, i124suffix): Delete. Replace usage with
new iterators QIHISI, QIHI, bw, bwl respectively throughout the file. new iterators QIHISI, QIHI, bw, bwl respectively throughout the file.
......
...@@ -327,7 +327,7 @@ mhard-atomic ...@@ -327,7 +327,7 @@ mhard-atomic
Target Report Var(TARGET_HARD_ATOMIC) Target Report Var(TARGET_HARD_ATOMIC)
Use hardware atomic sequences Use hardware atomic sequences
menable-tas mtas
Target Report RejectNegative Var(TARGET_ENABLE_TAS) Target Report RejectNegative Var(TARGET_ENABLE_TAS)
Use tas.b instruction for __atomic_test_and_set Use tas.b instruction for __atomic_test_and_set
......
...@@ -26,11 +26,11 @@ ...@@ -26,11 +26,11 @@
;; In addition to that all SH CPUs support the 'tas.b' instruction, which ;; In addition to that all SH CPUs support the 'tas.b' instruction, which
;; can be optionally used to implement the 'atomic_test_and_set' builtin. ;; can be optionally used to implement the 'atomic_test_and_set' builtin.
;; ;;
;; tas.b atomic_test_and_set (-menable-tas) ;; tas.b atomic_test_and_set (-mtas)
;; ;;
;; Depending on the particular hardware configuration, usage of the 'tas.b' ;; Depending on the particular hardware configuration, usage of the 'tas.b'
;; instruction might be undesired or even unsafe. Thus, it has to be ;; instruction might be undesired or even unsafe. Thus, it has to be
;; enabled by the user explicitely. If it is not enabled, the ;; enabled by the user explicitly. If it is not enabled, the
;; 'atomic_test_and_set' builtin is implemented either with hardware or with ;; 'atomic_test_and_set' builtin is implemented either with hardware or with
;; software atomics, depending on which is enabled. It is also possible to ;; software atomics, depending on which is enabled. It is also possible to
;; enable the 'tas.b' instruction only, without enabling support for the ;; enable the 'tas.b' instruction only, without enabling support for the
......
...@@ -891,7 +891,7 @@ See RS/6000 and PowerPC Options. ...@@ -891,7 +891,7 @@ See RS/6000 and PowerPC Options.
-maccumulate-outgoing-args -minvalid-symbols -msoft-atomic -mhard-atomic @gol -maccumulate-outgoing-args -minvalid-symbols -msoft-atomic -mhard-atomic @gol
-mbranch-cost=@var{num} -mzdcbranch -mno-zdcbranch -mcbranchdi -mcmpeqdi @gol -mbranch-cost=@var{num} -mzdcbranch -mno-zdcbranch -mcbranchdi -mcmpeqdi @gol
-mfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -mno-fsrra @gol -mfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -mno-fsrra @gol
-mpretend-cmove -menable-tas} -mpretend-cmove -mtas}
@emph{Solaris 2 Options} @emph{Solaris 2 Options}
@gccoptlist{-mimpure-text -mno-impure-text @gol @gccoptlist{-mimpure-text -mno-impure-text @gol
...@@ -18156,8 +18156,8 @@ interrupt / exception handling systems. In contrast to the ...@@ -18156,8 +18156,8 @@ interrupt / exception handling systems. In contrast to the
@option{-msoft-atomic} option this will only use the instructions @option{-msoft-atomic} option this will only use the instructions
@code{movli.l} and @code{movco.l} to create atomic sequences. @code{movli.l} and @code{movco.l} to create atomic sequences.
@item -menable-tas @item -mtas
@opindex menable-tas @opindex mtas
Generate the @code{tas.b} opcode for @code{__atomic_test_and_set}. Generate the @code{tas.b} opcode for @code{__atomic_test_and_set}.
Notice that depending on the particular hardware and software configuration Notice that depending on the particular hardware and software configuration
this can degrade overall performance due to the operand cache line flushes this can degrade overall performance due to the operand cache line flushes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment