Skip to content
Commit ea8b75d2 authored by Heiko Carstens's avatar Heiko Carstens
Browse files

s390/sysinfo: convert bogomips calculation to C



Provide several one instruction fpu inline assemebles and use them to
implement the bogomips calculation in C like style. This is more for
illustration purposes on how kernel fpu code can be written in C.

This has the advantage that the author only has to take care of the
floating point instructions, but doesn't need to take care of general
purpose register allocation (if needed), and the semantics of all other
instructions not related to fpu.

Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent c8dde11d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment