Hello,

This patch adds ARMv8.1 support to GCC Dejagnu, to allow ARM
tests to specify targest and to set up command line options.
It builds on the ARMv8.1 target support added for AArch64 tests, partly
reworking that support to take into account the different configurations
that tests may be run under.

The main changes are
- add_options_for_arm_v8_1a_neon: Call
  check_effective_target_arm_v8_1a_neon_ok to select a suitable set of
  options.
- check_effective_target_arm_v8_1a_neon_ok: Test possible command line
  options, recording the first set that works.
- check_effective_target_arm_v8_1a_neon_hw: Add a test for ARM targets.

Tested the series for arm-none-eabi with cross-compiled check-gcc on an
ARMv8.1 emulator. Also tested arm-none-linux-gnueabihf with native
bootstrap and make check.

Ok for trunk?
Matthew

testsuite/
2015-11-26  Matthew Wahab  <matthew.wa...@arm.com>

        * lib/target-supports.exp (add_options_for_arm_v8_1a_neon): Update
        comment.  Use check_effetive_target_arm_v8_1a_neon_ok to select
        the command line options.
        (check_effective_target_arm_v8_1a_neon_ok_nocache): Update initial
        test to allow ARM targets.  Select and record a working set of
        command line options.
        (check_effective_target_arm_v8_1a_neon_hw): Add tests for ARM
        targets.

Reply via email to