diff options
author | Maxim Kuvyrkov <maxim@codesourcery.com> | 2012-07-21 00:01:40 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <mkuvyrkov@gcc.gnu.org> | 2012-07-21 00:01:40 +0000 |
commit | 3088716e20615caba1e82abd8f7cf79d1a73f9ca (patch) | |
tree | 1e9f6f349a379aa72be1a2ea9c28a1aaff156eb6 /gcc/config/mips/loongson2ef.md | |
parent | c1515facff18630fbd833b10fff9c742d5b371f3 (diff) | |
download | gcc-3088716e20615caba1e82abd8f7cf79d1a73f9ca.tar.gz |
mips.md (define_attr sync_*): Move before "type".
* config/mips/mips.md (define_attr sync_*): Move before "type".
(define_attr "type"): New values "atomic" and "syncloop".
* config/mips/sync.md (atomic_exchange<mode>, atomic_fetch_add<mode>):
Set "type" attribute.
* config/mips/generic.md (generic_atomic, generic_syncloop):
New reservations.
* gcc/config/mips/10000.md, gcc/config/mips/20kc.md,
* gcc/config/mips/24k.md, gcc/config/mips/4130.md,
* gcc/config/mips/4k.md, gcc/config/mips/5400.md,
* gcc/config/mips/5500.md, gcc/config/mips/5k.md,
* gcc/config/mips/7000.md, gcc/config/mips/74k.md,
* gcc/config/mips/9000.md, gcc/config/mips/loongson2ef.md,
* gcc/config/mips/loongson3a.md, gcc/config/mips/octeon.md,
* gcc/config/mips/sb1.md, gcc/config/mips/sr71k.md,
* gcc/config/mips/xlr.md: Handle "atomic" and "syncloop" types.
From-SVN: r189734
Diffstat (limited to 'gcc/config/mips/loongson2ef.md')
-rw-r--r-- | gcc/config/mips/loongson2ef.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/loongson2ef.md b/gcc/config/mips/loongson2ef.md index 5b635c9dab2..ef9dd3899a8 100644 --- a/gcc/config/mips/loongson2ef.md +++ b/gcc/config/mips/loongson2ef.md @@ -98,7 +98,7 @@ ;; ls2_[f]alu{1,2}_turn_enabled units according to this attribute. ;; These instructions are used in mips.c: sched_ls2_dfa_post_advance_cycle. -(define_attr "ls2_turn_type" "alu1,alu2,falu1,falu2,unknown" +(define_attr "ls2_turn_type" "alu1,alu2,falu1,falu2,unknown,atomic,syncloop" (const_string "unknown")) ;; Subscribe ls2_alu1_turn_enabled. |