smulsi3_highpart.S 490 B

1234567891011121314151617181920212223242526272829303132
  1. .align 2
  2. .global ___smulsi3_highpart;
  3. .type ___smulsi3_highpart, STT_FUNC;
  4. #ifdef CONFIG_ARITHMETIC_OPS_L1
  5. .section .l1.text
  6. #else
  7. .text
  8. #endif
  9. ___smulsi3_highpart:
  10. R2 = R1.L * R0.L (FU);
  11. R3 = R1.H * R0.L (IS,M);
  12. R0 = R0.H * R1.H, R1 = R0.H * R1.L (IS,M);
  13. R1.L = R2.H + R1.L;
  14. cc = ac0;
  15. R2 = cc;
  16. R1.L = R1.L + R3.L;
  17. cc = ac0;
  18. R1 >>>= 16;
  19. R3 >>>= 16;
  20. R1 = R1 + R3;
  21. R1 = R1 + R2;
  22. R2 = cc;
  23. R1 = R1 + R2;
  24. R0 = R0 + R1;
  25. RTS;
  26. .size ___smulsi3_highpart, .-___smulsi3_highpart