restrict keyword has no effect?
Andrew Pinski
pinskia@gmail.com
Wed Jan 23 17:11:00 GMT 2008
On Jan 23, 2008 8:18 AM, Bingfeng Mei <bmei@broadcom.com> wrote:
> Hello,
> We are porting GCC 4.2.1 for our VLIW processor. To improve performance,
> support of restrict keyword is imperative. From what I learn from GCC
> documentation, "restrict" should be well supported since GCC3. Somehow,
> I found it doesn't improve schedule even for simple example.
> Any hint to produce efficient code with "restrict" keyword? Thank in
> advance.
You should try the trunk which has improved restrict support via the
merging of the pointer plus infrastructure.
There is still more to support restrict after the tree-ssa merge but
those are waiting until 4.4.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list