summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/uhci.c
diff options
context:
space:
mode:
authorbjc <bjc@openbsd.org>2001-03-22 11:24:52 +0000
committerbjc <bjc@openbsd.org>2001-03-22 11:24:52 +0000
commitdb071fa7e1bc298825aa9685ec3862b0b5541b19 (patch)
tree9a9caa68e703abf521a8a73c0147244156e94665 /sys/dev/usb/uhci.c
parentfix typo (diff)
downloadwireguard-openbsd-db071fa7e1bc298825aa9685ec3862b0b5541b19.tar.xz
wireguard-openbsd-db071fa7e1bc298825aa9685ec3862b0b5541b19.zip
More EMODD work:
- Using CVTDL and subtracting to seperate integer from fraction does not work if the integer is >32 bits long; instead, rearrange the bits into a quadword, use ASHQ to truncate, and then subtract. Also: - Set the condition codes properly; this fixes the other problem with >32-bit-integer parts in libm by letting modf subtract the fractional part (which *is* a double) to get the integral part in a double. - move the zero checks earlier in the routine - instead of 'ret' in zeroexit, use brw goback
Diffstat (limited to 'sys/dev/usb/uhci.c')
0 files changed, 0 insertions, 0 deletions