diff options
author | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-05 18:18:51 +0000 |
---|---|---|
committer | olegendo <olegendo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-05 18:18:51 +0000 |
commit | 631f95de66248a5340c702d6be89b9728f54ac63 (patch) | |
tree | 86d563457479f906f0118fb151eff841f655de40 /gcc/config/sh/sh.opt | |
parent | dc3784b95b5d8bab30e3a0dbbe11de5bf42f30fc (diff) | |
download | gcc-631f95de66248a5340c702d6be89b9728f54ac63.tar.gz |
* config/sh/sh.h (TARGET_ATOMIC_TEST_AND_SET_TRUEVAL): New hook.
* config/sh/sync.md (atomic_test_and_set): New expander.
(tasb, atomic_test_and_set_soft): New insns.
* config/sh/sh.opt (menable-tas): New option.
* doc/invoke.texi (SH Options): Document it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184947 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/sh.opt')
-rw-r--r-- | gcc/config/sh/sh.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/sh/sh.opt b/gcc/config/sh/sh.opt index ea87d259f39..37b99904a0b 100644 --- a/gcc/config/sh/sh.opt +++ b/gcc/config/sh/sh.opt @@ -323,6 +323,10 @@ msoft-atomic Target Report Mask(SOFT_ATOMIC) Use software atomic sequences supported by kernel +menable-tas +Target Report RejectNegative Var(TARGET_ENABLE_TAS) +Use tas.b instruction for __atomic_test_and_set + mspace Target RejectNegative Alias(Os) Deprecated. Use -Os instead |