Re: const versus __attribute__((const))

H. Peter Anvin
2003-12-09T03:22:30Z

Jamie Lokier wrote:
>
> It would be nice to have a way to declare an asm like "pure" not
> "const", so that it's allowed to read memory but multiple calls can be
> eliminated; I don't know of a way to express that.
>

Just specify memory input operands.

-hpa