qos_l.h File Reference

Composite mul/div, shl/div and mul/shr operations on signed long integers. More...

#include "qos_l_other.h"
#include <linux/types.h>

Go to the source code of this file.


Detailed Description

Composite mul/div, shl/div and mul/shr operations on signed long integers.

On i386 architectures, these are implemented in assembler with intermediate results on 64 bits, using native 32-bit multiply and divide operations of the processor. Resulting implementation is hopefully more appropriate than general long-long arithmetics functions coming with gcc, which would not be available anycase inside the kernel (their use would require linking the gcc long-long module within a kernel module).

Definition in file qos_l.h.

Generated on Mon Aug 2 22:39:17 2010 for qosres by  doxygen 1.6.3