Skip to content
Commit d03bd045 authored by Martin Schwidefsky's avatar Martin Schwidefsky
Browse files

s390/timex: micro optimization for tod_to_ns



The conversion of a TOD value to nano-seconds currently uses a 32/32 bit
split with the calculation for "nsecs = (TOD * 125) >> 9". Using a
55/9 bit split saves an instruction.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent e53051e7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment