mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-06 09:17:25 +00:00
Skip the register based postinc stores here and don't count them
in the number of tests. This way we avoid skipped tests for non- existent memory access combinations. The number of tests dropped from 60 to 48.
This commit is contained in:
parent
ced1bf58df
commit
c0604e27a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=140920
@ -51,7 +51,7 @@ sub run ($$$$$) {
|
||||
print "ok $nr $test\n";
|
||||
}
|
||||
elsif ($st == 256) {
|
||||
print "ok $nr $test # SKIP nonexistent combination\n";
|
||||
print "not ok $nr $test # invalid combination\n";
|
||||
}
|
||||
elsif ($st == 512) {
|
||||
print "not ok $nr $test # value mismatch\n";
|
||||
@ -74,14 +74,21 @@ if (`sysctl -n debug.unaligned_test` != "1") {
|
||||
}
|
||||
|
||||
my $count = @accesses * @types * @sizes * @postincs;
|
||||
|
||||
# There's no register based post inc. for stores.
|
||||
$count -= 12;
|
||||
|
||||
print "1..$count\n";
|
||||
|
||||
my $nr=0;
|
||||
foreach $access (@accesses) {
|
||||
foreach $type (@types) {
|
||||
foreach $size (@sizes) {
|
||||
foreach $postinc (@postincs) {
|
||||
run ++$nr, $access, $type, $size, $postinc;
|
||||
foreach $postinc (@postincs) {
|
||||
$_ = "$access $postinc";
|
||||
if (! /Store.+RegPostInc/) {
|
||||
foreach $type (@types) {
|
||||
foreach $size (@sizes) {
|
||||
run ++$nr, $access, $type, $size, $postinc;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user