Julian Seward 7a3b89c927 s390x: rewrite some testcases. To make my testing and debugging life
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
2011-04-13 14:57:44 +00:00

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;
}