On 11/03/2017 05:22 AM, Claudiu Zissulescu wrote:
I see no documentation here.
Ups, forgot this one :) Please find it attached. I'll merge it into the final
patch when everything is approved.
Thanks,
Claudiu
+@node ARC Type Attributes
+@subsection ARC Type Attributes
+
+@cindex @code{uncached} type attribute, ARC
+Declaring variables @code{uncached} allows you to exclude data-cache
Since this is a type attribute and not a variable attribute (I presume
to allow accessing objects through a pointer), it would be better to say
Declaring objects with the @code{uncached} type attribute allows....
+participation in load and store operations on those variables without
And s/variables/objects/ here too.
+involving the additional semantic implications of volatile. The
You probably want @code{volatile} markup here?
+@code{.di} instruction suffix is used for all loads and stores of data
+declared @code{uncached}.
+
Otherwise, the description makes sense to me. (In fact, I might
eventually want to copy this attribute over to the Nios II backend, too,
since it also has similar "io"-variant load/store instructions.)
-Sandra