summaryrefslogtreecommitdiff
path: root/compiler/optimizing/optimizing_compiler_stats.h
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2021-07-12 15:34:43 +0100
committer Ulyana Trafimovich <skvadrik@google.com> 2021-07-12 16:25:08 +0000
commita5c529fd866309856a1eaff009f781ffe266b499 (patch)
tree1a79af82e61b26de98a6d03fbb81e2fc5db12a93 /compiler/optimizing/optimizing_compiler_stats.h
parentb50ceebb814f28a6ade94974d3e8614c8585760e (diff)
x86_64: Allow test to skip register pairs. Fix XCHG and enable tests.
Previously tests were disabled for `xchgl reg, reg` variant with all register pairs, although the problematic case is only `xchg eax, eax`. This commit allows one to pass an exception list to a testing function and skip the problematic register pairs instead of disabling the whole test. The patch adds exception lists to all testing functions that run over register pairs, although XCHG only needs it for `Repeatrr`. Enabling the test revealed a few small errors in the XCHG implementation (namely, source and destination registers were swapped, which does not affect the result). This commit fixes the implementation so that the tests pass. Bug: 65872996 Test: m test-art-host-gtest Change-Id: Iaa759861330bcfb30db1a8219b805cc479cc3280
Diffstat (limited to 'compiler/optimizing/optimizing_compiler_stats.h')
0 files changed, 0 insertions, 0 deletions