Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Optimizing compilers reload vector constants needlessly. Parent comment
A lot of the intrinsics also look like (at least in gcc), they are marked always inline but not pure/const.
it's probably worthwhile marking those that take memory as pure/const. That way, it's obvious the value is readonly even when it's inlined.
(otherwise, the compiler will have to prove it in the inlined code, which is not always possible)
There are no comments on this comment yet.
A lot of the intrinsics also look like (at least in gcc), they are marked always inline but not pure/const.
it's probably worthwhile marking those that take memory as pure/const. That way, it's obvious the value is readonly even when it's inlined.
(otherwise, the compiler will have to prove it in the inlined code, which is not always possible)