]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/cris/sync.md
cris.c (cris_print_operand): New cases.
authorHans-Peter Nilsson <hp@axis.com>
Mon, 16 Jul 2012 03:11:31 +0000 (03:11 +0000)
committerHans-Peter Nilsson <hp@gcc.gnu.org>
Mon, 16 Jul 2012 03:11:31 +0000 (03:11 +0000)
commit24ddb79c2dbe77c7d4eb774dc4793cde6cd8a506
tree95852ac2a4dd58be6e832f6ef73a96e45b8f50c2
parentc3a3b5b55d024d5e130e30239990e4a453427a36
cris.c (cris_print_operand): New cases.

* config/cris/cris.c (cris_print_operand) <case 'P', 'q'>: New cases.
* config/cris/sync.md (atomic_op_op_cnstr): New code_attr.
(atomic_op_op_pred): Ditto.
(atomic_op_mnem_pre_op2): Renamed from atomic_op_mnem_pre; to
reflect the change to include %2 in expansion.  All callers changed.
(qm3): New mode_attr.
("atomic_fetch_<atomic_op_name><mode>"): Use <atomic_op_op_pred>
as predicate for operand 2.
("cris_atomic_fetch_<atomic_op_name><mode>_1"): Update FIXME.  Use
"<atomic_op_op_pred>" "<atomic_op_op_cnstr>" for predicate and
constraint for operand 2.
("atomic_compare_and_swap<mode>"): Add FIXME.  Change predicate to
nonmemory_operand for operand 3.
("cris_atomic_compare_and_swap<mode>_1"): Change operand 3 to
exclude memory.  Improve emitted sync code for v10 and v32.  Use
<qm3> instead of <m> for size designator for cmp.

From-SVN: r189503
gcc/ChangeLog
gcc/config/cris/cris.c
gcc/config/cris/sync.md