On 10/23/13 16:31, Richard Henderson wrote:
On 10/23/2013 02:41 PM, Jeff Law wrote:
Out of curiosity, did you consider and/or discuss with Richard whether or not
to make these target-dependent or target-independent builtins? I realize it's
a bit problematic with Richard being involved during the NDA portion and
someone else during the review/integration portion, but that's unfortunately
where we are.
I suggested that they be target independent.
I suggested that there was nothing in MPX that couldn't be
done generically, if slower, on non-MPX hardware.
The primary concern is that while we have some builtins that are
disabled for a subset of targets, I think this is the first significant
class of builtins that are only available on a single target.
It's a bit of a slippery slope as we clearly don't want to move to a
model were we're regularly allowing classes of builtins that are only
implemented for a single target.
What saves the say with this stuff is from what I can gather (and which
you've confirmed), someone ought to be able to build a pointer bounds
checking implementation on top of this w/o using MPX hardware.
Ironically removal of mudflap came up in a different thread yesterday :-)
Jeff