@LiveForIt
Looking at the
GCC doc online, I see:
Quote:
-misel
-mno-isel
This switch enables or disables the generation of ISEL instructions.
-misel=yes/no
This switch has been deprecated. Use -misel and -mno-isel instead.
So this option is about generation of the instruction. You certainly have to choose a CPU that supports the instruction.
Note that currently, we have no platform that supports this instruction.
To compile with the inline isel instruction, try something like:
gcc -mcpu=e500mc -o isel isel.c
or on recent compilers:
gcc -mtune=e500mc -o isel isel.c
Note that if you do that on AmigaOS, that will crash with an undefined instruction on our machines.
And to target the e5500 core, if the compiler does not support it, you will tune for e500mc, what could be worse than not use isel instruction.
But that's always very good to experiment !
Edited by corto on 2013/11/20 9:14:37
Edited by corto on 2013/11/20 9:31:15