summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authorneel <neel@FreeBSD.org>2010-03-20 05:21:14 +0000
committerneel <neel@FreeBSD.org>2010-03-20 05:21:14 +0000
commitacca987bde60a7b3b11dabcb24b9870f71e22546 (patch)
tree1afc1163036557b7e2fa879ad010d1200698c299 /lib/libc/stdlib/div.c
parent7d29901d9ad295ed1d5c58afd08c3fb9e8d5d986 (diff)
downloadFreeBSD-src-acca987bde60a7b3b11dabcb24b9870f71e22546.zip
FreeBSD-src-acca987bde60a7b3b11dabcb24b9870f71e22546.tar.gz
Make sure that the registers 'v0' and 'v1' are properly sign-extended
when sb_load64() returns. Some 32-bit arithmetic operations (e.g. subu) have unpredicatable results when operating on 64-bit registers that are not properly sign-extended.
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud