On Sat, 24 Sep 2011, David Miller wrote: > From: Hans-Peter Nilsson <h...@bitrange.com> > Date: Sat, 24 Sep 2011 18:37:33 -0400 (EDT) > > > BTW, don't forget to clobber GSR at call insns! > > This I explicitly want to avoid and is an explicit design decision.
Aha, now I get it; that's certainly key. Thanks for taking the time. Yes, it's certainly more flexible to have the user set GSR than allowing gcc to clobber it when seeing VIS intrinsics, at the minor usability cost of the user having to keep track of GSR separately to when used in the individual intrinsics. > Like I said the model is like setting the floating point rounding mode > for a family of functions. Aha 2: I didn't interpret what you wrote as referring to the model; I thought you meant the actual function (one of the usages of the fpack insns being "fixed math"). Sure. > Zero is equivalent to "don't care" in this situation if either > 1) you aren't doing any falignaddr operations or 2) you are (JFTR, "faligndata") > then going to subsequently do an "alignaddr" to set that field > up. brgds, H-P PS. gcc-4.7/changes.html?