[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commits] r6848 - in /branches/libdfp/libc/dfp/sysdeps/powerpc: powerpc32/power6/fpu/ powerpc64/power6/fpu/
- To: commits@xxxxxxxxxx
- Subject: [commits] r6848 - in /branches/libdfp/libc/dfp/sysdeps/powerpc: powerpc32/power6/fpu/ powerpc64/power6/fpu/
- From: eberlein@xxxxxxxxxx
- Date: Fri, 29 Aug 2008 19:00:01 -0000
Author: eberlein
Date: Fri Aug 29 12:00:00 2008
New Revision: 6848
Log:
2008-08-29 Pete Eberlein <eberlein@xxxxxxxxxx>
* sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S: Updated
copyright. Added __dpd_ to function names. Replaced dcffix
instruction occurrences.
* sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/addsd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/addtd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/divdd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/divsd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/divtd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/eqdd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/eqsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/eqtd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/extendddtd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/extendsddd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/extendsdtd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixdddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixddsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixsddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixsdsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixtddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixtdsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunsdddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunsddsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunssddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunssdsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunstddi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/fixunstdsi.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatdidd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatdisd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatditd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatsidd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatsisd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatsitd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunsdidd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunsdisd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunsditd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunssidd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunssisd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/floatunssitd.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/gedd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/gesd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/getd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/gtdd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/gtsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/gttd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/ledd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/lesd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/letd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/ltdd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/ltsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/lttd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/muldd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/mulsd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/multd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/nedd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/nesd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/netd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/subdd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/subsd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/subtd3.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/truncddsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/trunctddd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/trunctdsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/unorddd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/unordsd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/unordtd2.S: Ditto.
* sysdeps/powerpc/powerpc32/power6/fpu/Versions: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/adddd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/addsd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/addtd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/divdd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/divsd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/divtd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/eqdd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/eqsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/eqtd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/extendddtd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/extendsddd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/extendsdtd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixdddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixddsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixsddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixsdsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixtddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixtdsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunsdddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunsddsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunssddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunssdsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunstddi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/fixunstdsi.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatdidd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatdisd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatditd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatsidd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatsisd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatsitd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunsdidd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunsdisd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunsditd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunssidd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunssisd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/floatunssitd.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/gedd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/gesd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/getd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/gtdd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/gtsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/gttd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/ledd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/lesd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/letd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/ltdd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/ltsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/lttd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/muldd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/mulsd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/multd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/nedd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/nesd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/netd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/subdd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/subsd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/subtd3.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/truncddsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/trunctddd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/trunctdsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/unorddd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/unordsd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/unordtd2.S: Ditto.
* sysdeps/powerpc/powerpc64/power6/fpu/Versions: Ditto.
Modified:
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/Versions
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divdd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendddtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsdtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixdddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixddsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsdddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsddsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatditd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsitd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsditd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssitd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gedd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/getd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gttd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ledd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/letd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lttd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/muldd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/mulsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/multd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nedd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/netd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subdd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/truncddsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/trunctddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/trunctdsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/unorddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/unordsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/unordtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/Versions
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/adddd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/addsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/addtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/divdd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/divsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/divtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/eqdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/eqsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/eqtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/extendddtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/extendsddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/extendsdtd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixdddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixddsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixsddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixsdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixtddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixtdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunsdddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunsddsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunssddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunssdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunstddi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/fixunstdsi.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatdidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatdisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatditd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatsidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatsisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatsitd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunsdidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunsdisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunsditd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunssidd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunssisd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/floatunssitd.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/gedd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/gesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/getd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/gtdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/gtsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/gttd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/ledd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/lesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/letd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/ltdd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/ltsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/lttd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/muldd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/mulsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/multd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/nedd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/nesd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/netd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/subdd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/subsd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/subtd3.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/truncddsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/trunctddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/trunctdsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/unorddd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/unordsd2.S
branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc64/power6/fpu/unordtd2.S
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/Versions
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/Versions (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/Versions Fri Aug 29 12:00:00 2008
@@ -1,22 +1,21 @@
libdfp {
GLIBC_2.7 {
- __addsd3; __adddd3; __addtd3;
- __subsd3; __subdd3; __subtd3;
- __mulsd3; __muldd3; __multd3;
- __divsd3; __divdd3; __divtd3;
- __extendsddd2; __extendsdtd2; __extendddtd2;
- __trunctdsd2; __truncddsd2; __trunctddd2;
- __unordsd2; __unorddd2; __unordtd2;
- __eqsd2; __eqdd2; __eqtd2; __nesd2; __nedd2; __netd2;
- __gesd2; __gedd2; __getd2; __gtsd2; __gtdd2; __gttd2;
- __ltsd2; __ltdd2; __lttd2; __lesd2; __ledd2; __letd2;
- __fixsdsi; __fixddsi; __fixtdsi; __fixsddi; __fixdddi; __fixtddi;
- __fixunssdsi; __fixunsddsi; __fixunstdsi;
- __fixunssddi; __fixunsdddi; __fixunstddi;
- __floatsisd; __floatsidd; __floatsitd;
- __floatdisd; __floatdidd; __floatditd;
- __floatunssisd; __floatunssidd; __floatunssitd;
- __floatunsdisd; __floatunsdidd; __floatunsditd;
- quantized32; quantized64; quantized128;
+ __dpd_addsd3; __dpd_adddd3; __dpd_addtd3;
+ __dpd_subsd3; __dpd_subdd3; __dpd_subtd3;
+ __dpd_mulsd3; __dpd_muldd3; __dpd_multd3;
+ __dpd_divsd3; __dpd_divdd3; __dpd_divtd3;
+ __dpd_extendsddd2; __dpd_extendsdtd2; __dpd_extendddtd2;
+ __dpd_trunctdsd2; __dpd_truncddsd2; __dpd_trunctddd2;
+ __dpd_unordsd2; __dpd_unorddd2; __dpd_unordtd2;
+ __dpd_eqsd2; __dpd_eqdd2; __dpd_eqtd2; __dpd_nesd2; __dpd_nedd2; __dpd_netd2;
+ __dpd_gesd2; __dpd_gedd2; __dpd_getd2; __dpd_gtsd2; __dpd_gtdd2; __dpd_gttd2;
+ __dpd_ltsd2; __dpd_ltdd2; __dpd_lttd2; __dpd_lesd2; __dpd_ledd2; __dpd_letd2;
+ __dpd_fixsdsi; __dpd_fixddsi; __dpd_fixtdsi; __dpd_fixsddi; __dpd_fixdddi; __dpd_fixtddi;
+ __dpd_fixunssdsi; __dpd_fixunsddsi; __dpd_fixunstdsi;
+ __dpd_fixunssddi; __dpd_fixunsdddi; __dpd_fixunstddi;
+ __dpd_floatsisd; __dpd_floatsidd; __dpd_floatsitd;
+ __dpd_floatdisd; __dpd_floatdidd; __dpd_floatditd;
+ __dpd_floatunssisd; __dpd_floatunssidd; __dpd_floatunssitd;
+ __dpd_floatunsdisd; __dpd_floatunsdidd; __dpd_floatunsditd;
}
}
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/adddd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit add. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __adddd3 (__decimal64 x, __decimal64 y) */
-ENTRY (__adddd3)
+/* _Decimal64 __dpd_adddd3 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_adddd3)
dadd fp1,fp1,fp2
blr
- END (__adddd3)
+ END (__dpd_adddd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addsd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addsd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addsd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit add. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __addsd3 (__decimal32 x, __decimal32 y) */
-ENTRY (__addsd3)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* _Decimal32 __dpd_addsd3 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_addsd3)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dadd fp1,fp1,fp2
- drsp fp1,fp1 /* Round result to __decimal32. */
+ drsp fp1,fp1 /* Round result to _Decimal32. */
blr
- END (__addsd3)
+ END (__dpd_addsd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addtd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addtd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/addtd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit add. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __addtd3 (__decimal128 x, __decimal128 y) */
-ENTRY (__addtd3)
+/* _Decimal128 __dpd_addtd3 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_addtd3)
daddq fp2,fp2,fp4
blr
- END (__addtd3)
+ END (__dpd_addtd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divdd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divdd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divdd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit divide. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __divdd3 (__decimal64 x, __decimal64 y) */
-ENTRY (__divdd3)
+/* _Decimal64 __dpd_divdd3 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_divdd3)
ddiv fp1,fp1,fp2
blr
- END (__divdd3)
+ END (__dpd_divdd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divsd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divsd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divsd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit divide. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __divsd3 (__decimal32 x, __decimal32 y) */
-ENTRY (__divsd3)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* _Decimal32 __dpd_divsd3 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_divsd3)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
ddiv fp1,fp1,fp2
- drsp fp1,fp1 /* Round result to __decimal32. */
+ drsp fp1,fp1 /* Round result to _Decimal32. */
blr
- END (__divsd3)
+ END (__dpd_divsd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divtd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divtd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/divtd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit divide. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __divtd3 (__decimal128 x, __decimal128 y) */
-ENTRY (__divtd3)
+/* _Decimal128 __dpd_divtd3 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_divtd3)
ddivq fp2,fp2,fp4
blr
- END (__divtd3)
+ END (__dpd_divtd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqdd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqdd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqdd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare equal. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __eqdd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__eqdd2)
+/* int __dpd_eqdd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_eqdd2)
dcmpu cr0,fp1,fp2 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__eqdd2)
+ END (__dpd_eqdd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqsd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqsd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqsd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare equal. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,13 +21,13 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __eqsd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__eqsd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_eqsd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_eqsd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__eqsd2)
+ END (__dpd_eqsd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqtd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqtd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/eqtd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point 128-bit compare equal.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,11 +22,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __eqtd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__eqtd2)
+/* int __dpd_eqtd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_eqtd2)
dcmpuq cr0,fp2,fp4 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__eqtd2)
+ END (__dpd_eqtd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendddtd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendddtd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendddtd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point extend 64-bit to 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __extendddtd2 (__decimal64 x) */
-ENTRY (__extendddtd2)
- dctqpq fp2,fp1 /* Convert x to __decimal128. */
+/* _Decimal128 __dpd_extendddtd2 (_Decimal64 x) */
+ENTRY (__dpd_extendddtd2)
+ dctqpq fp2,fp1 /* Convert x to _Decimal128. */
blr
- END (__extendddtd2)
+ END (__dpd_extendddtd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsddd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsddd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsddd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point extend 32-bit to 64-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __extendsddd2 (__decimal32 x) */
-ENTRY (__extendsddd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
+/* _Decimal64 __dpd_extendsddd2 (_Decimal32 x) */
+ENTRY (__dpd_extendsddd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
blr
- END (__extendsddd2)
+ END (__dpd_extendsddd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsdtd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsdtd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/extendsdtd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point extend 32-bit to 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,9 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __extendsdtd2 (__decimal32 x) */
-ENTRY (__extendsdtd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctqpq fp2,fp1 /* Convert x to __decimal128. */
+/* _Decimal128 __dpd_extendsdtd2 (_Decimal32 x) */
+ENTRY (__dpd_extendsdtd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctqpq fp2,fp1 /* Convert x to _Decimal128. */
blr
- END (__extendsdtd2)
+ END (__dpd_extendsdtd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixdddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixdddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixdddi.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point convert 64-bit to long. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* long __fixdddi (__decimal64 x) */
-ENTRY (__fixdddi)
+/* long __dpd_fixdddi (_Decimal64 x) */
+ENTRY (__dpd_fixdddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -33,4 +33,4 @@
lwz r4,12(r1)
addi r1,r1,16
blr
- END (__fixdddi)
+ END (__dpd_fixdddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixddsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixddsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixddsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 64-bit to int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,11 +22,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixddsi (__decimal64 x) */
-ENTRY (__fixddsi)
+/* int __dpd_fixddsi (_Decimal64 x) */
+ENTRY (__dpd_fixddsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -53,4 +53,4 @@
L(done):
addi r1,r1,16
blr
- END (__fixddsi)
+ END (__dpd_fixddsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsddi.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point convert 32-bit to long. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,12 +21,12 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* long __fixsddi (__decimal32 x) */
-ENTRY (__fixsddi)
+/* long __dpd_fixsddi (_Decimal32 x) */
+ENTRY (__dpd_fixsddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -34,4 +34,4 @@
lwz r4,12(r1)
addi r1,r1,16
blr
- END (__fixsddi)
+ END (__dpd_fixsddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsdsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsdsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixsdsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 32-bit to int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,12 +22,13 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixsdsi (__decimal32 x) */
-ENTRY (__fixsdsi)
+/* int __dpd_fixsdsi (_Decimal32 x) */
+/* long __dpd_fixsdsi (_Decimal32 x) */
+ENTRY (__dpd_fixsdsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -54,4 +55,4 @@
L(done):
addi r1,r1,16
blr
- END (__fixsdsi)
+ END (__dpd_fixsdsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtddi.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point convert 128-bit to long. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,16 +21,16 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* long __fixtddi (__decimal128 x) */
-ENTRY (__fixtddi)
+/* long __dpd_fixtddi (_Decimal128 x) */
+ENTRY (__dpd_fixtddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintnq. 0,fp2,fp2,1 /* Preround to toward zero. */
- dctfixq fp0,fp2 /* Convert x to integer. */
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dctfixq fp0,fp2 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
lwz r3,8(r1)
lwz r4,12(r1)
addi r1,r1,16
blr
- END (__fixtddi)
+ END (__dpd_fixtddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtdsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtdsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixtdsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 128-bit to int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,12 +22,12 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixtdsi (__decimal28 x) */
-ENTRY (__fixtdsi)
+/* int __dpd_fixtdsi (_Decimal28 x) */
+ENTRY (__dpd_fixtdsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintnq. 0,fp2,fp2,1 /* Preround to toward zero. */
- dctfixq fp0,fp2 /* Convert x to integer. */
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dctfixq fp0,fp2 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
lwz r0,8(r1)
@@ -53,4 +53,4 @@
L(done):
addi r1,r1,16
blr
- END (__fixtdsi)
+ END (__dpd_fixtdsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsdddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsdddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsdddi.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point convert 64-bit to unsigned long. P6 PPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,20 +20,22 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
-
- .section .rodata.cst8,"aM",@progbits,8
+ .section .rodata.cst16,"aM",@progbits,32
.align 3
-.LC1: /* 9223372036854775808.0DD */
- .long 0x6e45237c
- .long 0x836973f6
-.LC2: /* 18446744073709551616.0DD */
- .long 0x264a4cdd
- .long 0x2077c2dd
+.LC1: /* 9223372036854775808.0DL */
+ .long 0x2207c000
+ .long 0x00000003
+ .long 0xa4cfa07a
+ .long 0x2c7f600a
+.LC2: /* 18446744073709551616.0DL */
+ .long 0x2207c000
+ .long 0x0000000c
+ .long 0xa99e40ed
+ .long 0xc5ba58e0
.section ".text"
-
.machine "power6"
-/* unsigned long __fixunsdddi (__decimal64 x) */
-ENTRY (__fixunsdddi)
+/* unsigned long long __dpd_fixunsdddi (_Decimal64 x) */
+ENTRY (__dpd_fixunsdddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
#ifdef SHARED
@@ -52,27 +54,36 @@
mtlr r11
cfi_same_value (lr)
lfd fp10,0(r9)
- lfd fp11,.LC2-.LC1(r9)
+ lfd fp11,8(r9)
+ lfd fp8,.LC2-.LC1(r9)
+ lfd fp9,.LC2-.LC1+8(r9)
#else
lis r9,.LC1@ha
lis r10,.LC2@ha
- lfd fp10,.LC1@l(r9)
- lfd fp11,.LC2@l(r10)
+ addi r9,r9,.LC1@l
+ addi r10,r10,.LC2@l
+ lfd fp10,0(r9)
+ lfd fp11,8(r9)
+ lfd fp8,0(r10)
+ lfd fp9,8(r10)
#endif
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
- dcmpu cr0,fp1,fp10 /* check if > 2**63-1 */
+ dsubq fp6,fp10,fp10 /* Generate 0.0 constant for later. */
+ dctqpq fp2,fp1 /* Convert param to _Decimal128. */
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dcmpuq cr1,fp2,fp6 /* Check for less than zero. */
+ dcmpuq cr0,fp2,fp10 /* check if > 2**63-1 */
blt cr1,L(negative)
- blt cr0,L(poslong)
+ ble cr0,L(poslong)
/* The return is an unsigned long, but "DFP convert to fixed" takes
signed long, so we need to pre-adjust (-18446744073709551616.0DD)
to get the final (signed) conversion result to be the correct
unsigned result. */
- dsub fp1,fp1,fp11
- dcmpu cr0,fp1,fp10 /* if x still > 2**63-1 */
+ dsubq fp2,fp2,fp8
+ dcmpuq cr0,fp2,fp10 /* if x still > 2**63-1 */
li r3,-1 /* return max_unsigned_long */
- blt cr0,L(done) /* else */
+ bgt cr0,L(done)
L(poslong):
- dctfix fp0,fp1 /* Convert x to integer. */
+ dctfixq fp0,fp2 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
lwz r3,8(r1)
@@ -85,5 +96,5 @@
mr r4,r3
addi r1,r1,16
blr
- END (__fixunsdddi)
+ END (__dpd_fixunsdddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsddsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsddsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunsddsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 64-bit to unsigned int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,11 +22,12 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixunsddsi (__decimal64 x) */
-ENTRY (__fixunsddsi)
+/* unsigned int __dpd_fixunsddsi (_Decimal64 x) */
+/* unsigned long __dpd_fixunsddsi (_Decimal64 x) */
+ENTRY (__dpd_fixunsddsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -36,7 +37,7 @@
if there are any significant bits in the high word or overflow (incorrect
sign) from the low word. */
cmpwi cr0,r0,0
- cmpwi cr6,r3,0
+ cmpli cr6,r3,0 /* Logical form to cmp unsigned. */
blt cr0,L(negative)
bne cr0,L(posoverflow)
bge cr6,L(done)
@@ -48,4 +49,4 @@
L(done):
addi r1,r1,16
blr
- END (__fixunsddsi)
+ END (__dpd_fixunsddsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssddi.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point convert 64-bit to unsigned long. P6 PPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,20 +20,22 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
-
- .section .rodata.cst8,"aM",@progbits,8
+ .section .rodata.cst16,"aM",@progbits,32
.align 3
-.LC1: /* 9223372036854775808.0DD */
- .long 0x6e45237c
- .long 0x836973f6
-.LC2: /* 18446744073709551616.0DD */
- .long 0x264a4cdd
- .long 0x2077c2dd
+.LC1: /* 9223372036854775808.0DL */
+ .long 0x2207c000
+ .long 0x00000003
+ .long 0xa4cfa07a
+ .long 0x2c7f600a
+.LC2: /* 18446744073709551616.0DL */
+ .long 0x2207c000
+ .long 0x0000000c
+ .long 0xa99e40ed
+ .long 0xc5ba58e0
.section ".text"
-
.machine "power6"
-/* unsigned long __fixunssddi (__decimal32 x) */
-ENTRY (__fixunssddi)
+/* unsigned long long __dpd_fixunssddi (_Decimal32 x) */
+ENTRY (__dpd_fixunssddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
#ifdef SHARED
@@ -52,28 +54,37 @@
mtlr r11
cfi_same_value (lr)
lfd fp10,0(r9)
- lfd fp11,.LC2-.LC1(r9)
+ lfd fp11,8(r9)
+ lfd fp8,.LC2-.LC1(r9)
+ lfd fp9,.LC2-.LC1+8(r9)
#else
lis r9,.LC1@ha
lis r10,.LC2@ha
- lfd fp10,.LC1@l(r9)
- lfd fp11,.LC2@l(r10)
+ addi r9,r9,.LC1@l
+ addi r10,r10,.LC2@l
+ lfd fp10,0(r9)
+ lfd fp11,8(r9)
+ lfd fp8,0(r10)
+ lfd fp9,8(r10)
#endif
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
- dcmpu cr0,fp1,fp10 /* check if > 2**63-1 */
+ dsubq fp6,fp10,fp10 /* Generate 0.0 constant for later. */
+ dctdp fp0,fp1 /* Convert param to _Decimal64. */
+ dctqpq fp2,fp0 /* Convert param to _Decimal128. */
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dcmpuq cr1,fp2,fp6 /* Check for less than zero. */
+ dcmpuq cr0,fp2,fp10 /* check if > 2**63-1 */
blt cr1,L(negative)
- blt cr0,L(poslong)
+ ble cr0,L(poslong)
/* The return is an unsigned long, but "DFP convert to fixed" takes
signed long, so we need to pre-adjust (-18446744073709551616.0DD)
to get the final (signed) conversion result to be the correct
unsigned result. */
- dsub fp1,fp1,fp11
- dcmpu cr0,fp1,fp10 /* if x still > 2**63-1 */
+ dsubq fp2,fp2,fp8
+ dcmpuq cr0,fp2,fp10 /* if x still > 2**63-1 */
li r3,-1 /* return max_unsigned_long */
- blt cr0,L(done) /* else */
+ bgt cr0,L(done)
L(poslong):
- dctfix fp0,fp1 /* Convert x to integer. */
+ dctfixq fp0,fp2 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
lwz r3,8(r1)
@@ -86,5 +97,5 @@
mr r4,r3
addi r1,r1,16
blr
- END (__fixunssddi)
+ END (__dpd_fixunssddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssdsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssdsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunssdsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 32-bit to unsigned int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,12 +22,13 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixunssdsi (__decimal32 x) */
-ENTRY (__fixunssdsi)
+/* unsigned int __dpd_fixunssdsi (_Decimal32 x) */
+/* unsigned long __dpd_fixunssdsi (_Decimal32 x) */
+ENTRY (__dpd_fixunssdsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- drintn. 0,fp1,fp1,1 /* Preround to toward zero. */
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ drintn 0,fp1,fp1,1 /* Preround to toward zero. */
dctfix fp0,fp1 /* Convert x to integer. */
stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
@@ -37,7 +38,7 @@
if there are any significant bits in the high word or overflow (incorrect
sign) from the low word. */
cmpwi cr0,r0,0
- cmpwi cr6,r3,0
+ cmpli cr6,r3,0 /* Logical form to cmp unsigned. */
blt cr0,L(negative)
bne cr0,L(posoverflow)
bge cr6,L(done)
@@ -49,4 +50,4 @@
L(done):
addi r1,r1,16
blr
- END (__fixunssdsi)
+ END (__dpd_fixunssdsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstddi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstddi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstddi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 128-bit to unsigned long.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,7 +21,7 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
- .section .rodata.cst8,"aM",@progbits,8
+ .section .rodata.cst16,"aM",@progbits,32
.align 3
.LC1: /* 9223372036854775808.0DL */
.long 0x2207c000
@@ -34,10 +34,9 @@
.long 0xa99e40ed
.long 0xc5ba58e0
.section ".text"
-
.machine "power6"
-/* unsigned long __fixunstddi (__decimal128 x) */
-ENTRY (__fixunstddi)
+/* unsigned long long __dpd_fixunstddi (_Decimal128 x) */
+ENTRY (__dpd_fixunstddi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
#ifdef SHARED
@@ -69,10 +68,12 @@
lfd fp8,0(r10)
lfd fp9,8(r10)
#endif
- drintnq. 0,fp2,fp2,1 /* Preround to toward zero. */
+ dsubq fp6,fp10,fp10 /* Generate 0.0 constant for later. */
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dcmpuq cr1,fp2,fp6 /* Check for less than zero. */
dcmpuq cr0,fp2,fp10 /* check if > 2**63-1 */
blt cr1,L(negative)
- blt cr0,L(poslong)
+ ble cr0,L(poslong)
/* The return is an unsigned long, but "DFP convert to fixed" takes
signed long, so we need to pre-adjust (-18446744073709551616.0DD)
to get the final (signed) conversion result to be the correct
@@ -80,7 +81,7 @@
dsubq fp2,fp2,fp8
dcmpuq cr0,fp2,fp10 /* if x still > 2**63-1 */
li r3,-1 /* return max_unsigned_long */
- blt cr0,L(done) /* else */
+ bgt cr0,L(done)
L(poslong):
dctfixq fp0,fp2 /* Convert x to integer. */
stfd fp0,8(r1)
@@ -95,5 +96,5 @@
mr r4,r3
addi r1,r1,16
blr
- END (__fixunstddi)
+ END (__dpd_fixunstddi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstdsi.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstdsi.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/fixunstdsi.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point convert 128-bit to unsigned int.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,13 +22,14 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __fixunstdsi (__decimal128 x) */
-ENTRY (__fixunstdsi)
+/* unsigned int __dpd_fixunstdsi (_Decimal128 x) */
+/* unsigned long __dpd_fixunstdsi (_Decimal128 x) */
+ENTRY (__dpd_fixunstdsi)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- drintnq. 0,fp2,fp2,1 /* Preround to toward zero. */
- dctfixq fp0,fp2 /* Convert x to integer. */
- stfd fp1,8(r1)
+ drintnq 0,fp2,fp2,1 /* Preround to toward zero. */
+ dctfixq fp0,fp2 /* Convert x to integer. */
+ stfd fp0,8(r1)
ori r1,r1,0 /* Special group ending nop. */
lwz r0,8(r1)
lwz r3,12(r1)
@@ -36,7 +37,7 @@
if there are any significant bits in the high word or overflow (incorrect
sign) from the low word. */
cmpwi cr0,r0,0
- cmpwi cr6,r3,0
+ cmpli cr6,r3,0 /* Logical form to cmp unsigned. */
blt cr0,L(negative)
bne cr0,L(posoverflow)
bge cr6,L(done)
@@ -48,5 +49,5 @@
L(done):
addi r1,r1,16
blr
- END (__fixunsddsi)
+ END (__dpd_fixunsddsi)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdidd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdidd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdidd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 64-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,21 +22,17 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __floatdidd (int x) */
-ENTRY (__floatdidd)
- cmpwi cr6,r3,0
+/* _Decimal64 __dpd_floatdidd (long long x) */
+ENTRY (__dpd_floatdidd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,-1 /* extend negative. */
- blt cr6,L(negative)
- li r0,0 /* extend positive. */
-L(negative):
- stw r0,8(r1)
- stw r3,12(r1)
+ stw r3,8(r1)
+ stw r4,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal float. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ fmr fp1,fp0
addi r1,r1,16
blr
- END (__floatdidd)
+ END (__dpd_floatdidd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdisd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdisd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatdisd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 32-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,22 +22,17 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __floatdisd (int x) */
-ENTRY (__floatdisd)
- cmpwi cr6,r3,0
+/* _Decimal32 __dpd_floatdisd (long long x) */
+ENTRY (__dpd_floatdisd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,-1 /* extend negative. */
- blt cr6,L(negative)
- li r0,0 /* extend positive. */
-L(negative):
- stw r0,8(r1)
- stw r3,12(r1)
+ stw r3,8(r1)
+ stw r4,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal float. */
- drsp fp1,fp1 /* Round result to __decimal32. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ drsp fp1,fp0 /* Round result to _Decimal32. */
addi r1,r1,16
blr
- END (__floatdisd)
+ END (__dpd_floatdisd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatditd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatditd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatditd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,21 +22,17 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __floatditd (int x) */
-ENTRY (__floatditd)
+/* _Decimal128 __dpd_floatditd (long long x) */
+ENTRY (__dpd_floatditd)
cmpwi cr6,r3,0
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,-1 /* extend negative. */
- blt cr6,L(negative)
- li r0,0 /* extend positive. */
-L(negative):
- stw r0,8(r1)
- stw r3,12(r1)
+ stw r3,8(r1)
+ stw r4,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffixq fp2,fp0 /* Convert x to decimal float. */
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
L(done):
addi r1,r1,16
blr
- END (__floatditd)
+ END (__dpd_floatditd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsidd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsidd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsidd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 64-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __floatsidd (int x) */
-ENTRY (__floatsidd)
+/* _Decimal64 __dpd_floatsidd (int x) */
+/* _Decimal64 __dpd_floatsidd (long x) */
+ENTRY (__dpd_floatsidd)
cmpwi cr6,r3,0
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
@@ -35,8 +36,9 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal float. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ fmr fp1,fp0
addi r1,r1,16
blr
- END (__floatsidd)
+ END (__dpd_floatsidd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsisd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsisd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsisd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 32-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __floatsisd (int x) */
-ENTRY (__floatsisd)
+/* _Decimal32 __dpd_floatsisd (int x) */
+/* _Decimal32 __dpd_floatsisd (long x) */
+ENTRY (__dpd_floatsisd)
cmpwi cr6,r3,0
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
@@ -35,9 +36,9 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal float. */
- drsp fp1,fp1 /* Round result to __decimal32. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ drsp fp1,fp0 /* Round result to _Decimal32. */
addi r1,r1,16
blr
- END (__floatsisd)
+ END (__dpd_floatsisd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsitd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsitd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatsitd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert int to Decimal Floating Point 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __floatsitd (int x) */
-ENTRY (__floatsitd)
+/* _Decimal128 __dpd_floatsitd (int x) */
+/* _Decimal128 __dpd_floatsitd (long x) */
+ENTRY (__dpd_floatsitd)
cmpwi cr6,r3,0
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
@@ -35,8 +36,8 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffixq fp2,fp0 /* Convert x to decimal float. */
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 float. */
L(done):
addi r1,r1,16
blr
- END (__floatsitd)
+ END (__dpd_floatsitd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdidd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdidd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdidd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 64-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,18 +21,58 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
+ .section .rodata.cst16,"aM",@progbits,16
+ .align 3
+.LC1: /* 18446744073709551616.0DL (ULLONG_MAX) */
+ .long 0x2207c000
+ .long 0x0000000c
+ .long 0xa99e40ed
+ .long 0xc5ba58e0
+ .section ".text"
.machine "power6"
-/* __decimal64 __floatunsdidd (unsigned int x) */
-ENTRY (__floatunsdidd)
+/* _Decimal64 __dpd_floatunsdidd (unsigned long long x) */
+ENTRY (__dpd_floatunsdidd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,0 /* extend unsigned. */
- stw r0,8(r1)
- stw r3,12(r1)
+#ifdef SHARED
+ mflr r11
+ cfi_register(lr,r11)
+# ifdef HAVE_ASM_PPC_REL16
+ bcl 20,31,1f
+1: mflr r9
+ addis r9,r9,.LC1-1b@ha
+ addi r9,r9,.LC1-1b@l
+# else
+ bl _GLOBAL_OFFSET_TABLE_@local-4
+ mflr r10
+ lwz r9,.LC1@got(10)
+# endif
+ mtlr r11
+ cfi_same_value (lr)
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#else
+ lis r9,.LC1@ha
+ addi r9,r9,.LC1@l
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#endif
+ stw r3,8(r1)
+ stw r4,12(r1) /* ULL passed in consecutive gprs. */
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal floatuns. */
-L(done):
+/* Since dcffixq requires 'signed' input parameters if the value of the r3-r4
+ pair is an unsigned long long between ULLONG_MAX and LLONG_MAX then the
+ value is converted to a negative signed _Decimal128 and needs to be
+ adjusted to get the unsigned equivalent. */
+ dcffixq fp2,fp0 /* Convert signed x to _Decimal128. */
+/* Set cr0 if r3 is negative (where unsigned > LLONG_MAX). */
+ mr. r3,r3
+ bge cr0,L(noadjust) /* No adjust if orig wasn't neg (unsigned). */
+ daddq fp2,fp2,fp8 /* Unbias to get unsigned result. */
+L(noadjust):
+ drdpq fp0,fp2 /* Round result to __dpd_Decimal64. */
+ fmr fp1,fp0
addi r1,r1,16
blr
- END (__floatunsdidd)
+ END (__dpd_floatunsdidd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdisd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdisd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsdisd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 32-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,19 +21,58 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
+ .section .rodata.cst16,"aM",@progbits,16
+ .align 3
+.LC1: /* 18446744073709551616.0DL (ULLONG_MAX) */
+ .long 0x2207c000
+ .long 0x0000000c
+ .long 0xa99e40ed
+ .long 0xc5ba58e0
+ .section ".text"
.machine "power6"
-/* __decimal32 __floatunsdisd (unsigned int x) */
-ENTRY (__floatunsdisd)
+/* _Decimal32 __dpd_floatunsdisd (unsigned long long x) */
+ENTRY (__dpd_floatunsdisd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,0 /* extend unsigned. */
- stw r0,8(r1)
- stw r3,12(r1)
+#ifdef SHARED
+ mflr r11
+ cfi_register(lr,r11)
+# ifdef HAVE_ASM_PPC_REL16
+ bcl 20,31,1f
+1: mflr r9
+ addis r9,r9,.LC1-1b@ha
+ addi r9,r9,.LC1-1b@l
+# else
+ bl _GLOBAL_OFFSET_TABLE_@local-4
+ mflr r10
+ lwz r9,.LC1@got(10)
+# endif
+ mtlr r11
+ cfi_same_value (lr)
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#else
+ lis r9,.LC1@ha
+ addi r9,r9,.LC1@l
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#endif
+ stw r3,8(r1)
+ stw r4,12(r1) /* ULL passed in consecutive gprs. */
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal floatuns. */
- drsp fp1,fp1 /* Round result to __decimal32. */
-L(done):
+/* Since dcffixq requires 'signed' input parameters if the value of the r3-r4
+ pair is an unsigned long long between ULLONG_MAX and LLONG_MAX then the
+ value is converted to a negative signed _Decimal128 and needs to be
+ adjusted to get the unsigned equivalent. */
+ dcffixq fp2,fp0 /* Convert signed x to _Decimal128. */
+/* Set cr0 if r3 is negative (where unsigned > LLONG_MAX). */
+ mr. r3,r3
+ bge cr0,L(noadjust) /* No adjust if orig wasn't neg (unsigned). */
+ daddq fp2,fp2,fp8 /* Unbias to get unsigned result. */
+L(noadjust):
+ drdpq fp0,fp2 /* Round result to __dpd_Decimal64. */
+ drsp fp1,fp0 /* Round result to __dpd_Decimal32. */
addi r1,r1,16
blr
- END (__floatunsdisd)
+ END (__dpd_floatunsdisd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsditd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsditd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunsditd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,18 +21,56 @@
#include <sysdep.h>
#include <math_ldbl_opt.h>
+ .section .rodata.cst16,"aM",@progbits,16
+ .align 3
+.LC1: /* 18446744073709551616.0DL (ULLONG_MAX) */
+ .long 0x2207c000
+ .long 0x0000000c
+ .long 0xa99e40ed
+ .long 0xc5ba58e0
+ .section ".text"
.machine "power6"
-/* __decimal128 __floatunsditd (unsigned int x) */
-ENTRY (__floatunsditd)
+/* _Decimal128 __dpd_floatunsditd (unsigned long long x) */
+ENTRY (__dpd_floatunsditd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
- li r0,0 /* extend unsigned. */
- stw r0,8(r1)
- stw r3,12(r1)
+#ifdef SHARED
+ mflr r11
+ cfi_register(lr,r11)
+# ifdef HAVE_ASM_PPC_REL16
+ bcl 20,31,1f
+1: mflr r9
+ addis r9,r9,.LC1-1b@ha
+ addi r9,r9,.LC1-1b@l
+# else
+ bl _GLOBAL_OFFSET_TABLE_@local-4
+ mflr r10
+ lwz r9,.LC1@got(10)
+# endif
+ mtlr r11
+ cfi_same_value (lr)
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#else
+ lis r9,.LC1@ha
+ addi r9,r9,.LC1@l
+ lfd fp8,0(r9)
+ lfd fp9,8(r9)
+#endif
+ stw r3,8(r1)
+ stw r4,12(r1) /* ULL passed in consecutive gprs. */
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffixq fp2,fp0 /* Convert x to decimal floatuns. */
-L(done):
+/* Since dcffixq requires 'signed' input parameters if the value of the r3-r4
+ pair is an unsigned long long between ULLONG_MAX and LLONG_MAX then the
+ value is converted to a negative signed _Decimal128 and needs to be
+ adjusted to get the unsigned equivalent. */
+ dcffixq fp2,fp0 /* Convert signed x to _Decimal128. */
+/* Set cr0 if r3 is negative (where unsigned > LLONG_MAX). */
+ mr. r3,r3
+ bge cr0,L(noadjust) /* No adjust if orig wasn't neg (unsigned). */
+ daddq fp2,fp2,fp8 /* Unbias to get unsigned result. */
+L(noadjust):
addi r1,r1,16
blr
- END (__floatunsditd)
+ END (__dpd_floatunsditd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssidd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssidd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssidd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 64-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __floatunssidd (unsigned int x) */
-ENTRY (__floatunssidd)
+/* _Decimal64 __dpd_floatunssidd (unsigned int x) */
+/* _Decimal64 __dpd_floatunssidd (unsigned long x) */
+ENTRY (__dpd_floatunssidd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
li r0,0 /* extend unsigned. */
@@ -31,8 +32,9 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal floatuns. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 floatuns. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ fmr fp1,fp0
addi r1,r1,16
blr
- END (__floatunssidd)
+ END (__dpd_floatunssidd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssisd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssisd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssisd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 32-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __floatunssisd (unsigned int x) */
-ENTRY (__floatunssisd)
+/* _Decimal32 __dpd_floatunssisd (unsigned int x) */
+/* _Decimal32 __dpd_floatunssisd (unsigned long x) */
+ENTRY (__dpd_floatunssisd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
li r0,0 /* extend unsigned. */
@@ -31,9 +32,9 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffix fp1,fp0 /* Convert x to decimal floatuns. */
- drsp fp1,fp1 /* Round result to __decimal32. */
-L(done):
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 floatuns. */
+ drdpq fp0,fp2 /* Round result to _Decimal64. */
+ drsp fp1,fp0 /* Round result to _Decimal32. */
addi r1,r1,16
blr
- END (__floatunssisd)
+ END (__dpd_floatunssisd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssitd.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssitd.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/floatunssitd.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Convert unsigned int to Decimal Floating Point 128-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,9 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __floatunssitd (unsigned int x) */
-ENTRY (__floatunssitd)
+/* _Decimal128 __dpd_floatunssisd (unsigned int x) */
+/* _Decimal128 __dpd_floatunssisd (unsigned long x) */
+ENTRY (__dpd_floatunssitd)
stwu r1,-16(r1)
cfi_adjust_cfa_offset (16)
li r0,0 /* extend unsigned. */
@@ -31,8 +32,8 @@
stw r3,12(r1)
ori r1,r1,0 /* Special group ending nop. */
lfd fp0,8(r1)
- dcffixq fp2,fp0 /* Convert x to decimal floatuns. */
+ dcffixq fp2,fp0 /* Convert x to _Decimal128 floatuns. */
L(done):
addi r1,r1,16
blr
- END (__floatunssitd)
+ END (__dpd_floatunssitd)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gedd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gedd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gedd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __gedd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__gedd2)
+/* int __dpd_gedd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_gedd2)
dcmpu cr0,fp1,fp2 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__gedd2)
+ END (__dpd_gedd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gesd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gesd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gesd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,10 +21,10 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __gesd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__gesd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_gesd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_gesd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -32,4 +32,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__gesd2)
+ END (__dpd_gesd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/getd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/getd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/getd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __getd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__getd2)
+/* int __dpd_getd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_getd2)
dcmpuq cr0,fp2,fp4 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__getd2)
+ END (__dpd_getd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtdd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtdd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtdd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __gtdd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__gtdd2)
+/* int __dpd_gtdd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_gtdd2)
dcmpu cr0,fp1,fp2 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__gtdd2)
+ END (__dpd_gtdd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtsd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtsd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gtsd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,10 +21,10 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __gtsd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__gtsd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_gtsd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_gtsd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -32,4 +32,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__gtsd2)
+ END (__dpd_gtsd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gttd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gttd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/gttd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __gttd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__gttd2)
+/* int __dpd_gttd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_gttd2)
dcmpuq cr0,fp2,fp4 /* if ((x > y) && !unordered(x,y)) */
li r3, 1 /* return 1 */
bgtlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, -1 /* return -1 */
blr
- END (__gttd2)
+ END (__dpd_gttd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ledd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ledd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ledd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare <. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __ledd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__ledd2)
+/* int __dpd_ledd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_ledd2)
dcmpu cr0,fp1,fp2 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__ledd2)
+ END (__dpd_ledd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lesd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lesd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lesd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare <. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,10 +21,10 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __lesd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__lesd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_lesd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_lesd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -32,4 +32,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__lesd2)
+ END (__dpd_lesd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/letd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/letd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/letd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __letd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__letd2)
+/* int __dpd_letd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_letd2)
dcmpuq cr0,fp2,fp4 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__letd2)
+ END (__dpd_letd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltdd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltdd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltdd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare <. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __ltdd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__ltdd2)
+/* int __dpd_ltdd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_ltdd2)
dcmpu cr0,fp1,fp2 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__ltdd2)
+ END (__dpd_ltdd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltsd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltsd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/ltsd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare <. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,10 +21,10 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __ltsd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__ltsd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_ltsd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_ltsd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -32,4 +32,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__ltsd2)
+ END (__dpd_ltsd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lttd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lttd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/lttd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit compare >=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __lttd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__lttd2)
+/* int __dpd_lttd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_lttd2)
dcmpuq cr0,fp2,fp4 /* if ((x < y) && !unordered(x,y)) */
li r3, -1 /* return -1 */
bltlr cr0 /* else if ((x == y) && !unordered(x,y)) */
@@ -30,4 +30,4 @@
beqlr cr0 /* else */
li r3, 1 /* return 1 */
blr
- END (__lttd2)
+ END (__dpd_lttd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/muldd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/muldd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/muldd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit multiply. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __muldd3 (__decimal64 x, __decimal64 y) */
-ENTRY (__muldd3)
+/* _Decimal64 __dpd_muldd3 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_muldd3)
dmul fp1,fp1,fp2
blr
- END (__muldd3)
+ END (__dpd_muldd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/mulsd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/mulsd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/mulsd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit multiply. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __mulsd3 (__decimal32 x, __decimal32 y) */
-ENTRY (__mulsd3)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* _Decimal32 __dpd_mulsd3 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_mulsd3)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dmul fp1,fp1,fp2
- drsp fp1,fp1 /* Round result to __decimal32. */
+ drsp fp1,fp1 /* Round result to _Decimal32. */
blr
- END (__mulsd3)
+ END (__dpd_mulsd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/multd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/multd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/multd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit multiply. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __multd3 (__decimal128 x, __decimal128 y) */
-ENTRY (__multd3)
+/* _Decimal128 __dpd_multd3 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_multd3)
dmulq fp2,fp2,fp4
blr
- END (__multd3)
+ END (__dpd_multd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nedd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nedd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nedd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit compare !=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,12 +21,12 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __nedd2 (__decimal64 x, __decimal64 y) */
-ENTRY (__nedd2)
+/* int __dpd_nedd2 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_nedd2)
dcmpu cr0,fp1,fp2 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
bunlr cr0
li r3, 1 /* return 1 */
blr
- END (__nedd2)
+ END (__dpd_nedd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nesd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nesd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/nesd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit compare !=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,14 +21,14 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __nesd2 (__decimal32 x, __decimal32 y) */
-ENTRY (__nesd2)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* int __dpd_nesd2 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_nesd2)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dcmpu cr0,fp1,fp2 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
bunlr cr0
li r3, 1 /* return 1 */
blr
- END (__nesd2)
+ END (__dpd_nesd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/netd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/netd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/netd2.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit compare !=. P6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,12 +21,12 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* int __netd2 (__decimal128 x, __decimal128 y) */
-ENTRY (__netd2)
+/* int __dpd_netd2 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_netd2)
dcmpuq cr0,fp2,fp4 /* if ((x == y) && !unordered(x,y)) */
li r3, 0 /* return 0 */
beqlr cr0 /* else */
bunlr cr0
li r3, 1 /* return 1 */
blr
- END (__netd2)
+ END (__dpd_netd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subdd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subdd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subdd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 64-bit substract. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal64 __subdd3 (__decimal64 x, __decimal64 y) */
-ENTRY (__subdd3)
+/* _Decimal64 __dpd_subdd3 (_Decimal64 x, _Decimal64 y) */
+ENTRY (__dpd_subdd3)
dsub fp1,fp1,fp2
blr
- END (__subdd3)
+ END (__dpd_subdd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subsd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subsd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subsd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 32-bit subtract. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,11 +21,11 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __subsd3 (__decimal32 x, __decimal32 y) */
-ENTRY (__subsd3)
- dctdp fp1,fp1 /* Convert x to __decimal64. */
- dctdp fp2,fp2 /* Convert y to __decimal64. */
+/* _Decimal32 __dpd_subsd3 (_Decimal32 x, _Decimal32 y) */
+ENTRY (__dpd_subsd3)
+ dctdp fp1,fp1 /* Convert x to _Decimal64. */
+ dctdp fp2,fp2 /* Convert y to _Decimal64. */
dsub fp1,fp1,fp2
- drsp fp1,fp1 /* Round result to __decimal32. */
+ drsp fp1,fp1 /* Round result to _Decimal32. */
blr
- END (__subsd3)
+ END (__dpd_subsd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subtd3.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subtd3.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/subtd3.S Fri Aug 29 12:00:00 2008
@@ -1,5 +1,5 @@
/* Decimal Floating Point 128-bit subtract. POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -21,8 +21,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal128 __subtd3 (__decimal128 x, __decimal128 y) */
-ENTRY (__subtd3)
+/* _Decimal128 __dpd_subtd3 (_Decimal128 x, _Decimal128 y) */
+ENTRY (__dpd_subtd3)
dsubq fp2,fp2,fp4
blr
- END (__subtd3)
+ END (__dpd_subtd3)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/truncddsd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/truncddsd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/truncddsd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point truncate 64-bit to 32-bit.
POWER6 PowerPC32 version.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006,2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -22,8 +22,8 @@
#include <math_ldbl_opt.h>
.machine "power6"
-/* __decimal32 __truncddsd2 (__decimal64 x) */
-ENTRY (__truncddsd2)
- drsp fp1,fp1 /* Round result to __decimal32. */
+/* _Decimal32 __dpd_truncddsd2 (_Decimal64 x) */
+ENTRY (__dpd_truncddsd2)
+ drsp fp1,fp1 /* Round result to _Decimal32. */
blr
- END (__truncddsd2)
+ END (__dpd_truncddsd2)
Modified: branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/trunctddd2.S
==============================================================================
--- branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/trunctddd2.S (original)
+++ branches/libdfp/libc/dfp/sysdeps/powerpc/powerpc32/power6/fpu/trunctddd2.S Fri Aug 29 12:00:00 2008
@@ -1,6 +1,6 @@
/* Decimal Floating Point truncate 128-bit to 64-bit.
[... 2240 lines stripped ...]