mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
simpler, I've rewritten those testcases from none/tests/s390x that require binutils to recognize opcodes defined in the extended-immediate and general-instruction-extension facilities. As a side effect this change removes the special casing in none/tests/s390x/Makefile.am and the configury bits to support it. Fixes #270115. (Florian Krohm, britzel@acm.org) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11693
46 lines
1.3 KiB
C
46 lines
1.3 KiB
C
#include <stdio.h>
|
|
#include "add.h"
|
|
#include "opcodes.h"
|
|
|
|
static void do_imm_insns(void)
|
|
{
|
|
ximmsweep(AFI, 00000000, 00000000, 0);
|
|
ximmsweep(AFI, ffffffff, ffffffff, 0);
|
|
ximmsweep(AFI, ffffffff, ffff8000, 0);
|
|
ximmsweep(AFI, 00000000, 00007fff, 0);
|
|
ximmsweep(AFI, ffffffff, ffffffff, 0);
|
|
ximmsweep(AFI, ffffffff, 80000000, 0);
|
|
ximmsweep(AFI, 00000000, 7fffffff, 0);
|
|
|
|
ximmsweep(AGFI, 00000000, 00000000, 0);
|
|
ximmsweep(AGFI, ffffffff, ffffffff, 0);
|
|
ximmsweep(AGFI, ffffffff, ffff8000, 0);
|
|
ximmsweep(AGFI, 00000000, 00007fff, 0);
|
|
ximmsweep(AGFI, ffffffff, ffffffff, 0);
|
|
ximmsweep(AGFI, ffffffff, 80000000, 0);
|
|
ximmsweep(AGFI, 00000000, 7fffffff, 0);
|
|
|
|
ximmsweep(ALFI, 00000000, 00000000, 0);
|
|
ximmsweep(ALFI, 00000000, 0000ffff, 0);
|
|
ximmsweep(ALFI, 00000000, 00008000, 0);
|
|
ximmsweep(ALFI, 00000000, 00007fff, 0);
|
|
ximmsweep(ALFI, 00000000, ffffffff, 0);
|
|
ximmsweep(ALFI, 00000000, 80000000, 0);
|
|
ximmsweep(ALFI, 00000000, 7fffffff, 0);
|
|
|
|
ximmsweep(ALGFI, 00000000, 00000000, 0);
|
|
ximmsweep(ALGFI, 00000000, 0000ffff, 0);
|
|
ximmsweep(ALGFI, 00000000, 00008000, 0);
|
|
ximmsweep(ALGFI, 00000000, 00007fff, 0);
|
|
ximmsweep(ALGFI, 00000000, ffffffff, 0);
|
|
ximmsweep(ALGFI, 00000000, 80000000, 0);
|
|
ximmsweep(ALGFI, 00000000, 7fffffff, 0);
|
|
}
|
|
|
|
int main()
|
|
{
|
|
do_imm_insns();
|
|
|
|
return 0;
|
|
}
|