ca.pl 817 B

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/local/bin/perl
  2. # I have this in perl so I can use more usefull register names and then convert
  3. # them into alpha registers.
  4. #
  5. push(@INC,"perlasm","../../perlasm");
  6. require "alpha.pl";
  7. require "alpha/mul_add.pl";
  8. require "alpha/mul.pl";
  9. require "alpha/sqr.pl";
  10. require "alpha/add.pl";
  11. require "alpha/sub.pl";
  12. require "alpha/mul_c8.pl";
  13. require "alpha/mul_c4.pl";
  14. require "alpha/sqr_c4.pl";
  15. require "alpha/sqr_c8.pl";
  16. require "alpha/div.pl";
  17. &asm_init($ARGV[0],$0);
  18. &bn_mul_words("bn_mul_words");
  19. &bn_sqr_words("bn_sqr_words");
  20. &bn_mul_add_words("bn_mul_add_words");
  21. &bn_add_words("bn_add_words");
  22. &bn_sub_words("bn_sub_words");
  23. &bn_div_words("bn_div_words");
  24. &bn_mul_comba8("bn_mul_comba8");
  25. &bn_mul_comba4("bn_mul_comba4");
  26. &bn_sqr_comba4("bn_sqr_comba4");
  27. &bn_sqr_comba8("bn_sqr_comba8");
  28. &asm_finish();