Ticket #1648 (closed cage: done)

Opened 5 years ago

Last modified 3 years ago

Look at using restrict keyword on pointers

Reported by: petdance Owned by: petdance
Priority: normal Milestone:
Component: build Version: 2.3.0
Severity: medium Keywords:
Cc: Language:
Patch status: Platform:

Description

The restrict keyword can lead to improved optimizations by the compiler.

 http://en.wikipedia.org/wiki/Restrict

GCC 4.5 "now makes better use of the information provided by the restrict keyword... to generate better optimized code.

 https://lwn.net/SubscriberLink/387122/4555e15215cc7faf/

Look to see if we can get any performance benefits from it.

Change History

Changed 5 years ago by petdance

  • owner set to petdance
  • status changed from new to assigned

Changed 5 years ago by petdance

  • status changed from assigned to new

Here are some notes on the restrict qualifier:  http://lbrandy.com/blog/2010/06/you-cant-beat-a-good-compile/

Changed 4 years ago by jkeenan

  • component changed from none to build

Changed 3 years ago by petdance

  • status changed from new to closed
  • resolution set to done

This has been manually migrated to Github issues:  https://github.com/parrot/parrot/issues/177

Note: See TracTickets for help on using tickets.