summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2003-07-13 06:39:13 +0000
committerJason Wright <jason@cvs.openbsd.org>2003-07-13 06:39:13 +0000
commitb9b1d109eaeee104d1c25d2623cc41e8a67050a9 (patch)
tree23e72f58c229f04ff303c9498043197e0bde1960
parentb77b859729ab930886752c21d7ba6cd5ccabc2c0 (diff)
generate correct prototypes
-rw-r--r--regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl b/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
index 258b95c008b..fc39e360bde 100644
--- a/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
+++ b/regress/sys/arch/sparc64/emul-ldqstq/simm13/genc.pl
@@ -38,6 +38,12 @@ struct fpquad {
u_int32_t x4;
};
+int compare_regs(union fpregs *, union fpregs *);
+void dump_reg(union fpregs *);
+void dump_regs(union fpregs *, union fpregs *, union fpregs *);
+void c_ldq(union fpregs *, int, struct fpquad *);
+void test_asm_ldq(char *, void (*)(struct fpquad *));
+
int
compare_regs(union fpregs *fr1, union fpregs *fr2)
{
@@ -121,6 +127,15 @@ test_asm_ldq(char *desc, void (*func)(struct fpquad *))
}
MY__EOF
;
+
+$j = 0;
+for ($i = -4096; $i <= 4095; $i++) {
+ if (($i % 256) == 0) {
+ print "void test_$j(void);\n";
+ $j++;
+ }
+}
+
$j = 0;
for ($i = -4096; $i <= 4095; $i++) {
if ($i < 0) {