mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-02 01:40:07 +00:00
18 lines
182 B
ArmAsm
18 lines
182 B
ArmAsm
|
/*
|
||
|
* Sparc v9 has multiply.
|
||
|
*/
|
||
|
|
||
|
#include <sysdep.h>
|
||
|
|
||
|
.text
|
||
|
.align 32
|
||
|
ENTRY(.mul)
|
||
|
|
||
|
sra %o0, 0, %o0
|
||
|
sra %o1, 0, %o1
|
||
|
mulx %o0, %o1, %o0
|
||
|
retl
|
||
|
srax %o0, 32, %o1
|
||
|
|
||
|
END(.mul)
|