aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/octeon.md
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim@codesourcery.com>2012-07-21 00:01:40 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2012-07-21 00:01:40 +0000
commit3088716e20615caba1e82abd8f7cf79d1a73f9ca (patch)
tree1e9f6f349a379aa72be1a2ea9c28a1aaff156eb6 /gcc/config/mips/octeon.md
parentc1515facff18630fbd833b10fff9c742d5b371f3 (diff)
downloadgcc-3088716e20615caba1e82abd8f7cf79d1a73f9ca.zip
gcc-3088716e20615caba1e82abd8f7cf79d1a73f9ca.tar.gz
gcc-3088716e20615caba1e82abd8f7cf79d1a73f9ca.tar.bz2
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/octeon.md')
-rw-r--r--gcc/config/mips/octeon.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/mips/octeon.md b/gcc/config/mips/octeon.md
index ff6b657..2a57881 100644
--- a/gcc/config/mips/octeon.md
+++ b/gcc/config/mips/octeon.md
@@ -133,5 +133,5 @@
(define_insn_reservation "octeon_unknown" 1
(and (eq_attr "cpu" "octeon,octeon2")
- (eq_attr "type" "unknown,multi"))
+ (eq_attr "type" "unknown,multi,atomic,syncloop"))
"octeon_pipe0 + octeon_pipe1")