x86.pl 623 B

12345678910111213141516171819202122232425262728
  1. #!/usr/local/bin/perl
  2. push(@INC,"perlasm","../../perlasm");
  3. require "x86asm.pl";
  4. require("x86/mul_add.pl");
  5. require("x86/mul.pl");
  6. require("x86/sqr.pl");
  7. require("x86/div.pl");
  8. require("x86/add.pl");
  9. require("x86/sub.pl");
  10. require("x86/comba.pl");
  11. &asm_init($ARGV[0],$0);
  12. &bn_mul_add_words("bn_mul_add_words");
  13. &bn_mul_words("bn_mul_words");
  14. &bn_sqr_words("bn_sqr_words");
  15. &bn_div_words("bn_div_words");
  16. &bn_add_words("bn_add_words");
  17. &bn_sub_words("bn_sub_words");
  18. &bn_mul_comba("bn_mul_comba8",8);
  19. &bn_mul_comba("bn_mul_comba4",4);
  20. &bn_sqr_comba("bn_sqr_comba8",8);
  21. &bn_sqr_comba("bn_sqr_comba4",4);
  22. &asm_finish();