ftmemsim-valgrind/none/tests/s390x/traps.stdout.exp
Andreas Arnez 20976f432d s390x: Implement conditional trap instructions
This implements various z/Architecture instructions that conditionally
yield a data exception ("trap").  The condition is either based on a
comparison being true ("compare and trap") or on a loaded value being
zero ("load and trap").  These instructions haven't been widely used in
the past, but may now be emitted by newer compilers.  Note that the
resulting signal for a data exception is SIGFPE, not SIGTRAP.  Thus this
patch also adds a new jump kind Ijk_SigFPE.
2018-09-24 16:06:19 +02:00

47 lines
1.0 KiB
Plaintext

lat ffffffff12345678 ffffffffedcba988 ffffffff80000000 [FPE 0] ffffffff00000000
lgat 0000000012345678 ffffffffedcba988 0000000080000000 [FPE 0] 0000000000000000
lfhat 12345678ffffffff edcba988ffffffff 80000000ffffffff [FPE 0] 00000000ffffffff
llgfat 0000000012345678 00000000edcba988 0000000080000000 [FPE 0] 0000000000000000
llgtat 0000000012345678 000000006dcba988 [FPE 0] 0000000000000000 [FPE 0] 0000000000000000
crt:
0 Y 0 [FPE 0]
1 < -1
2147483647 > -2147483648 [FPE 0]
clrt:
0 Y 0 [FPE 0]
1 < 4294967295 [FPE 0]
2147483647 > 2147483648
cgrt:
0 Y 0 [FPE 0]
1 < -1
2147483647 > 2147483648
clgrt:
0 Y 0 [FPE 0]
1 < 18446744073709551615 [FPE 0]
2147483647 > 2147483648
cit:
0 N 0
-1 != -1
-2147483648 <= 41 [FPE 0]
clfit:
0 N 0
4294967295 != 65535 [FPE 0]
2147483648 <= 41
cgit:
0 N 0
-1 != -1
2147483648 <= 41
clgit:
0 N 0
18446744073709551615 != 65535 [FPE 0]
2147483648 <= 41
clt:
1 >= 4294967295
4294967295 == 4294967295 [FPE 0]
clgt:
1 >= 18446744073709551615
4294967295 == 18446744073709551615