Skip to content
Snippets Groups Projects
Commit bc71eb97 authored by Alex Bennée's avatar Alex Bennée Committed by Andrew Jones
Browse files

arm/tcg-test: some basic TCG exercising tests


These tests are not really aimed at KVM at all but exist to stretch
QEMU's TCG code generator. In particular these exercise the ability of
the TCG to:

  * Chain TranslationBlocks together (tight)
  * Handle heavy usage of the tb_jump_cache (paged)
  * Pathological case of computed local jumps (computed)

In addition the tests can be varied by adding IPI IRQs or SMC sequences
into the mix to stress the tcg_exit and invalidation mechanisms.

To explicitly stress the tb_flush() mechanism you can use the mod/rounds
parameters to force more frequent tb invalidation. Combined with setting
-tb-size 1 in QEMU to limit the code generation buffer size.

Signed-off-by: default avatarAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20211202115352.951548-10-alex.bennee@linaro.org>
Signed-off-by: default avatarAndrew Jones <drjones@redhat.com>
parent dd4234c5
No related branches found
No related tags found
No related merge requests found
Pipeline #429162188 passed