[Liboil] Simple scalar operations in ORC possible?
Mattijs Janssens
m.janssens at opencfd.co.uk
Tue Mar 8 07:56:36 PST 2011
On Tuesday 08 Mar 2011 12:28:32 Nghia Ho wrote:
> Hi,
>
> I've been trying to figure out how to use ORC to do something simple like
> (pseudo-code):
>
> data[] = {1,2,3,4,5,6 .....}
> data = data + 10;
>
> where all the values in data is added by 10. But I can't seem to find any
> obvious opcode that can do this. Is this even possible?
From http://code.entropywave.com/documentation/orc/orc-opcodes.html
loadpl
followed by
addl
?
Mattijs
More information about the Liboil
mailing list