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, MPX runtime 2/2] Add MPX tests


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


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