fd90908986
for sim/testsuite/sky: * t-pke4.run: Removed test, since it succeeds yet returns a non-zero exit code. * Makefile.in (RUNOPTS): Removed --memory-size flag, made unnecessary by sim/mips/interp.c changes. (TESTS): Removed t-pke4.ok target. * t-pke3.trc: Classified tests with [---] indicators, to match items up with entries documented in testplan.sgml. Added numerous additional tests. They assert behavior that assumes certain favorable answers to PKE question set #6 to SCEI. * t-pke1.trc: Added some [---] indicators. for sim/mips: * sky-pke.c (pke_issue): Revamped interrupt & stall code. Assume that ER1/ER0/PIS bits are only set if not masked by ERR bits. Signal PIS only if unmasked. (pke_code_error): Signal ER1 only if unmasked. (pke_pc_fifo): Signal ER0 only if unmasked. (pke_code_unpack): Round up num_operands for last operand's partial-word. Factor out "R" bit handling for better coverage analysis. Fill upper words of a quadword with zeroes for Vn_m UNPACK with n < 4. * sky-device.c (device_error): Made function accept varargs. * sky-device.h (device_error): Changed declaration to match. * interp.c (sim_open): Made 0x0000 area memory be an alias of the K0/K1 segments. Sanitized code.
107 lines
5.9 KiB
Text
107 lines
5.9 KiB
Text
# PKE tests from SCEI PKE simulator
|
|
# Converted by FChE using emacs macros from "sce-project/scei/pke/sample/tsv432.in"
|
|
# Regenerated with word classification using PKE trace output.
|
|
# [test.code.unpack] [test.unpack.V4_32]
|
|
0 0x55555555_20000000_00000000_31000066 0x00000000 .PDD
|
|
0 0x0000ffff_0000ffff_0000ffff_30000000 0x00000000 ...P
|
|
0 0x30000000_7c000000_01000000_0000ffff 0x00000000 PPP.
|
|
0 0x00000103_00000102_00000101_00000100 0x00000000 ....
|
|
0 0x00001002_00001001_00001000_31000000 0x00000000 ...P
|
|
0 0x6c100000_01000404_05000000_00001003 0x00000000 PPP.
|
|
0 0x00000003_00000002_00000001_00000000 0x00000000 ....
|
|
0 0x00000013_00000012_00000011_00000010 0x00000000 ....
|
|
0 0x00000023_00000022_00000021_00000020 0x00000000 ....
|
|
0 0x00000033_00000032_00000031_00000030 0x00000000 ....
|
|
0 0x00000043_00000042_00000041_00000040 0x00000000 ....
|
|
0 0x00000053_00000052_00000051_00000050 0x00000000 ....
|
|
0 0x00000063_00000062_00000061_00000060 0x00000000 ....
|
|
0 0x00000073_00000072_00000071_00000070 0x00000000 ....
|
|
0 0x00000083_00000082_00000081_00000080 0x00000000 ....
|
|
0 0x00000093_00000092_00000091_00000090 0x00000000 ....
|
|
0 0x000000a3_000000a2_000000a1_000000a0 0x00000000 ....
|
|
0 0x000000b3_000000b2_000000b1_000000b0 0x00000000 ....
|
|
0 0x000000c3_000000c2_000000c1_000000c0 0x00000000 ....
|
|
0 0x000000d3_000000d2_000000d1_000000d0 0x00000000 ....
|
|
0 0x000000e3_000000e2_000000e1_000000e0 0x00000000 ....
|
|
0 0x000000f3_000000f2_000000f1_000000f0 0x00000000 ....
|
|
0 0x00000001_00000000_6c080010_01000408 0x00000000 ..PP
|
|
0 0x00000011_00000010_00000003_00000002 0x00000000 ....
|
|
0 0x00000021_00000020_00000013_00000012 0x00000000 ....
|
|
0 0x00000031_00000030_00000023_00000022 0x00000000 ....
|
|
0 0x00000041_00000040_00000033_00000032 0x00000000 ....
|
|
0 0x00000051_00000050_00000043_00000042 0x00000000 ....
|
|
0 0x00000061_00000060_00000053_00000052 0x00000000 ....
|
|
0 0x00000071_00000070_00000063_00000062 0x00000000 ....
|
|
0 0xaaaa0000_20000000_00000073_00000072 0x00000000 .P..
|
|
0 0x00000001_00000000_7c080020_01000402 0x00000000 ..PP
|
|
0 0x00000011_00000010_00000003_00000002 0x00000000 ....
|
|
0 0x00000021_00000020_00000013_00000012 0x00000000 ....
|
|
0 0x00000031_00000030_00000023_00000022 0x00000000 ....
|
|
0 0x40100401_20000000_00000033_00000032 0x00000000 .P..
|
|
0 0x00000001_00000000_7c100030_01000808 0x00000000 ..PP
|
|
0 0x00000011_00000010_00000003_00000002 0x00000000 ....
|
|
0 0x00000021_00000020_00000013_00000012 0x00000000 ....
|
|
0 0x00000031_00000030_00000023_00000022 0x00000000 ....
|
|
0 0x00000041_00000040_00000033_00000032 0x00000000 ....
|
|
0 0x00000051_00000050_00000043_00000042 0x00000000 ....
|
|
0 0x00000061_00000060_00000053_00000052 0x00000000 ....
|
|
0 0x00000071_00000070_00000063_00000062 0x00000000 ....
|
|
0 0x00000081_00000080_00000073_00000072 0x00000000 ....
|
|
0 0x00000091_00000090_00000083_00000082 0x00000000 ....
|
|
0 0x000000a1_000000a0_00000093_00000092 0x00000000 ....
|
|
0 0x000000b1_000000b0_000000a3_000000a2 0x00000000 ....
|
|
0 0x000000c1_000000c0_000000b3_000000b2 0x00000000 ....
|
|
0 0x000000d1_000000d0_000000c3_000000c2 0x00000000 ....
|
|
0 0x000000e1_000000e0_000000d3_000000d2 0x00000000 ....
|
|
0 0x000000f1_000000f0_000000e3_000000e2 0x00000000 ....
|
|
0 0x80200802_20000000_000000f3_000000f2 0x00000000 .P..
|
|
0 0x00000001_00000000_7c100040_01000808 0x00000000 ..PP
|
|
0 0x00000011_00000010_00000003_00000002 0x00000000 ....
|
|
0 0x00000021_00000020_00000013_00000012 0x00000000 ....
|
|
0 0x00000031_00000030_00000023_00000022 0x00000000 ....
|
|
0 0x00000041_00000040_00000033_00000032 0x00000000 ....
|
|
0 0x00000051_00000050_00000043_00000042 0x00000000 ....
|
|
0 0x00000061_00000060_00000053_00000052 0x00000000 ....
|
|
0 0x00000071_00000070_00000063_00000062 0x00000000 ....
|
|
0 0x00000081_00000080_00000073_00000072 0x00000000 ....
|
|
0 0x00000091_00000090_00000083_00000082 0x00000000 ....
|
|
0 0x000000a1_000000a0_00000093_00000092 0x00000000 ....
|
|
0 0x000000b1_000000b0_000000a3_000000a2 0x00000000 ....
|
|
0 0x000000c1_000000c0_000000b3_000000b2 0x00000000 ....
|
|
0 0x000000d1_000000d0_000000c3_000000c2 0x00000000 ....
|
|
0 0x000000e1_000000e0_000000d3_000000d2 0x00000000 ....
|
|
0 0x000000f1_000000f0_000000e3_000000e2 0x00000000 ....
|
|
0 0x80200802_20000000_000000f3_000000f2 0x00000000 .P..
|
|
0 0x00000001_00000000_7c060060_01000308 0x00000000 ..PP
|
|
0 0x00000011_00000010_00000003_00000002 0x00000000 ....
|
|
0 0x00000021_00000020_00000013_00000012 0x00000000 ....
|
|
0 0x00000031_00000030_00000023_00000022 0x00000000 ....
|
|
0 0x00000041_00000040_00000033_00000032 0x00000000 ....
|
|
0 0x00000051_00000050_00000043_00000042 0x00000000 ....
|
|
0 0x00000100_30000000_00000053_00000052 0x00000000 .P..
|
|
0 0x31000000_00000103_00000102_00000101 0x00000000 P...
|
|
0 0x00001003_00001002_00001001_00001000 0x00000000 ....
|
|
0 0x30000000_90909090_20000000_05000001 0x00000000 P.PP
|
|
0 0x00004000_00000100_00000001_ffffffff 0x00000000 ....
|
|
0 0x00000002_00000001_00000000_31000000 0x00000000 ...P
|
|
0 0x00000000_7c080070_01000404_00000003 0x00000000 .PP.
|
|
0 0x00000010_00000003_00000002_00000001 0x00000000 ....
|
|
0 0x00000020_00000013_00000012_00000011 0x00000000 ....
|
|
0 0x00000030_00000023_00000022_00000021 0x00000000 ....
|
|
0 0x00000040_00000033_00000032_00000031 0x00000000 ....
|
|
0 0x00000050_00000043_00000042_00000041 0x00000000 ....
|
|
0 0x00000060_00000053_00000052_00000051 0x00000000 ....
|
|
0 0x00000070_00000063_00000062_00000061 0x00000000 ....
|
|
0 0x05000002_00000073_00000072_00000071 0x00000000 P...
|
|
0 0x00000000_30000000_90909090_20000000 0x00000000 .P.P
|
|
0 0x31000000_00000000_00000001_00000000 0x00000000 P...
|
|
0 0x00000003_00000002_00000001_00000000 0x00000000 ....
|
|
0 0x00000001_00000001_7c080078_01000404 0x00000000 ..PP
|
|
0 0x00000001_00000001_00000003_00000002 0x00000000 ....
|
|
0 0x00000001_00000001_00000013_00000012 0x00000000 ....
|
|
0 0xffffffff_00000001_00000023_00000022 0x00000000 ....
|
|
0 0xfffffffe_00000001_00000033_00000032 0x00000000 ....
|
|
0 0x00000002_00000001_00000043_00000042 0x00000000 ....
|
|
0 0x00000003_00000001_00000053_00000052 0x00000000 ....
|
|
0 0xfffffffb_00000001_00000063_00000062 0x00000000 ....
|
|
0 0x00000000_00000000_00000073_00000072 0x00000000 PP..
|