aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOleg Endo <olegendo@gcc.gnu.org>2012-08-29 18:41:52 +0000
committerOleg Endo <olegendo@gcc.gnu.org>2012-08-29 18:41:52 +0000
commit487ebcbff524a58a579f309d364c227c15980a00 (patch)
tree76dce4c8736aa107f2468a9270ddf852eb9ed1d2 /gcc
parent7fa4bf9bf9a74dcde2bacd2437ce341cf51ad615 (diff)
downloadgcc-487ebcbff524a58a579f309d364c227c15980a00.zip
gcc-487ebcbff524a58a579f309d364c227c15980a00.tar.gz
gcc-487ebcbff524a58a579f309d364c227c15980a00.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/sh/sh.opt2
-rw-r--r--gcc/config/sh/sync.md4
-rw-r--r--gcc/doc/invoke.texi6
4 files changed, 12 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a9c6078..31e8f13 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,11 @@
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/sync.md (I124, I12, i124suffix): Delete. Replace usage with
new iterators QIHISI, QIHI, bw, bwl respectively throughout the file.
diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt
index 70b7e09..cb01810 100644
--- a/gcc/config/sh/sh.opt
+++ b/gcc/config/sh/sh.opt
@@ -327,7 +327,7 @@ mhard-atomic
Target Report Var(TARGET_HARD_ATOMIC)
Use hardware atomic sequences
-menable-tas
+mtas
Target Report RejectNegative Var(TARGET_ENABLE_TAS)
Use tas.b instruction for __atomic_test_and_set
diff --git a/gcc/config/sh/sync.md b/gcc/config/sh/sync.md
index 24ed5e9..aa87c57 100644
--- a/gcc/config/sh/sync.md
+++ b/gcc/config/sh/sync.md
@@ -26,11 +26,11 @@
;; 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.
;;
-;; 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'
;; 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
;; software atomics, depending on which is enabled. It is also possible to
;; enable the 'tas.b' instruction only, without enabling support for the
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index bf7844d..876beaa 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -891,7 +891,7 @@ See RS/6000 and PowerPC Options.
-maccumulate-outgoing-args -minvalid-symbols -msoft-atomic -mhard-atomic @gol
-mbranch-cost=@var{num} -mzdcbranch -mno-zdcbranch -mcbranchdi -mcmpeqdi @gol
-mfused-madd -mno-fused-madd -mfsca -mno-fsca -mfsrra -mno-fsrra @gol
--mpretend-cmove -menable-tas}
+-mpretend-cmove -mtas}
@emph{Solaris 2 Options}
@gccoptlist{-mimpure-text -mno-impure-text @gol
@@ -18156,8 +18156,8 @@ interrupt / exception handling systems. In contrast to the
@option{-msoft-atomic} option this will only use the instructions
@code{movli.l} and @code{movco.l} to create atomic sequences.
-@item -menable-tas
-@opindex menable-tas
+@item -mtas
+@opindex mtas
Generate the @code{tas.b} opcode for @code{__atomic_test_and_set}.
Notice that depending on the particular hardware and software configuration
this can degrade overall performance due to the operand cache line flushes