On 11/11/14 13:10, Ilya Enkovich wrote:
tests are compiled ignoring CPUID, mpx.exp only checks tests may be compiled (i.e. binutils support MPX, runtime wasn't disabled etc.). All MPX binaries are supposed to work correctly on hardware without MPX, we just shouldn't expect any bound violations detected. Thus all tests run even on hardware with no MPX. mpx-check.h is included into each (or almost each test). It checks CPUID and just exits with expected code in case MPX is not supported. I tried it on hardware with and without MPX and check log is same for both cases. But in more detailed gcc.log we may see that tests are SKIPPED when we have no MPX in hardware.
Ah. OK. That sounds even better.
Jeff