Karan Shah(deleted)
|
Re: EXPENSIVE IO (in32() and out32()) calls in QNX when compared to Linux
|
Karan Shah(deleted)
10/13/2015 5:59 AM
post114632
|
Re: EXPENSIVE IO (in32() and out32()) calls in QNX when compared to Linux
Dear Armin,
>Are the in32() / out32() function used in kernel or in user space ?
yes, in32 / out32() function are used in user space.
>What compiler versions, compiler options are you using for QNX and
Linux. Could you show the individual assembler code produced by the
compiler ?
The Compiler version for QNX is GNU Compiler Collection (4.4.2) and no compiler options which are default in QNX
Momentics IDE 4.7.0.
The Compiler version for Linux is arm-fsl-linux-gnueabi-gcc and no compiler options.
"arm-fsl-linux-gnueabi-gcc: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared
libs), for GNU/Linux 2.6.0, stripped"
The test code files for QNX and linux along with assembly codes of both are attached.
In test code I have created local equivalent in32 and out32 functions whose definition is taken from definition of
original in32 and out32 code from inout.h header file.
|
|
|