This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/2] rs6000: Use unspec_volatile for darn (PR91481)


On Thu, Aug 22, 2019 at 07:20:48PM +0000, Segher Boessenkool wrote:
> Every call to darn should deliver a *new* random number; such calls
> shouldnot be CSEd together.  So they should be unspec_volatile, not
> plain unspec.
> 
> Tested on powerpc64-linux {-m32,-m64}.  (New testcase coming soon).
> Committing to trunk, and will backport to 9, 8, 7 as well.

Done now, all three patches (including the testcase).


Segher


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]