848933e870
This version is similar to the code shipped with libgcc. It is based on the code from the SPARC64 architecture manual, provided without any restrictions. Tested by: flo@
7 lines
277 B
Bash
7 lines
277 B
Bash
#!/bin/sh
|
|
|
|
m4 divmod.m4 | sed -e 's/[[:space:]]*$//' | grep -v '^$' > modsi3.S
|
|
m4 -DANSWER=quotient divmod.m4 | sed -e 's/[[:space:]]*$//' | grep -v '^$' > divsi3.S
|
|
echo '! This file intentionally left blank' > umodsi3.S
|
|
echo '! This file intentionally left blank' > udivsi3.S
|