On Wed, Jun 21, 2017 at 12:55:54PM -0500, Steven Munroe wrote: > > > I don't expect many different effective-target / dg-add-options keywords > > > to be needed for common tests (obviously, duplicating tests for each > > > architecture wanting these intrinsics is generally a bad idea). > > > > Yeah, I think it should be possible to share the tests, perhaps with > > some added dg things (so that we don't have to repeat the same things > > over and over). > > > I don't see how we can share the test as this requires platform unique > dg-options and dg-require-effective-target values to enforce the > platform restrictions you mentioned earlier.
Most dg-* take a target selector. It probably will be handy to have a specific effective-target for this, in any case, so it could be made usable by all targets? Segher