r257222 - in /trunk/gcc: ChangeLog config/arc/a...
claziss@gcc.gnu.org
claziss@gcc.gnu.org
Wed Jan 31 10:01:00 GMT 2018
Author: claziss
Date: Wed Jan 31 10:01:34 2018
New Revision: 257222
URL: https://gcc.gnu.org/viewcvs?rev=257222&root=gcc&view=rev
Log:
[ARC] Add 'uncached' attribute.
The _Uncached type qualifier can be used to bypass the cache without
resorting to declaring variables as volatile.
gcc/
2018-01-31 Claudiu Zissulescu <claziss@synopsys.com>
* config/arc/arc-protos.h (arc_is_uncached_mem_p): Function proto.
* config/arc/arc.c (arc_handle_uncached_attribute): New function.
(arc_attribute_table): Add 'uncached' attribute.
(arc_print_operand): Print '.di' flag for uncached memory
accesses.
(arc_in_small_data_p): Do not consider for small data the uncached
types.
(arc_is_uncached_mem_p): New function.
* config/arc/predicates.md (compact_store_memory_operand): Check
for uncached memory accesses.
(nonvol_nonimm_operand): Likewise.
* gcc/doc/extend.texi (ARC Type Attribute): New subsection.
gcc/testsuite
2018-01-31 Claudiu Zissulescu <claziss@synopsys.com>
* gcc.target/arc/uncached.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arc/uncached.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/arc/arc-protos.h
trunk/gcc/config/arc/arc.c
trunk/gcc/config/arc/predicates.md
trunk/gcc/doc/extend.texi
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list