[RISCV] Move iterators from sync.md to iterators.md
Like the previous two patches this moves the iterators that are in sync.md to iterators.md. OK? build and tested for riscv64-linux-gnu. gcc/ChangeLog: * config/riscv/sync.md (any_atomic, atomic_optab): Move to ... * config/riscv/iterators.md: Here.
This commit is contained in:
parent
3f9061d95d
commit
7770e0ad8f
2 changed files with 7 additions and 4 deletions
|
@ -150,6 +150,9 @@
|
|||
(define_code_iterator any_lt [lt ltu])
|
||||
(define_code_iterator any_le [le leu])
|
||||
|
||||
; atomics code iterator
|
||||
(define_code_iterator any_atomic [plus ior xor and])
|
||||
|
||||
; bitmanip code iterators
|
||||
(define_code_iterator bitmanip_bitwise [and ior])
|
||||
|
||||
|
@ -204,6 +207,10 @@
|
|||
(plus "add")
|
||||
(minus "sub")])
|
||||
|
||||
; atomics code attribute
|
||||
(define_code_attr atomic_optab
|
||||
[(plus "add") (ior "or") (xor "xor") (and "and")])
|
||||
|
||||
; bitmanip code attributes
|
||||
(define_code_attr bitmanip_optab [(smin "smin")
|
||||
(smax "smax")
|
||||
|
|
|
@ -27,10 +27,6 @@
|
|||
UNSPEC_MEMORY_BARRIER
|
||||
])
|
||||
|
||||
(define_code_iterator any_atomic [plus ior xor and])
|
||||
(define_code_attr atomic_optab
|
||||
[(plus "add") (ior "or") (xor "xor") (and "and")])
|
||||
|
||||
;; Memory barriers.
|
||||
|
||||
(define_expand "mem_thread_fence"
|
||||
|
|
Loading…
Add table
Reference in a new issue