News for hackers. Stuff that matters.
Re:How Many X86-64 Instructions Are There Anyway? by nullc on Monday May 01, 2017 @08:09AM (#14236942)
> on the other hand allow only to encode some kind of constants, bases on a rather complicated scheme that I will not explain here;

Oh, it's not that bad: It codes an 8-bit value and a 4-bit circular shift-by-2-bits.

Re:How Many X86-64 Instructions Are There Anyway? by pm215 on Monday May 01, 2017 @09:19AM (#14237234)
Also non-ancient ARM chips add the movw and movt instructions so you can load a 32 bit constant simply in 2 insns rather than having to play games with sequences of arithmetic insns or use a constant pool.
Re:How Many X86-64 Instructions Are There Anyway? by wolfgke on Monday May 01, 2017 @09:24AM (#14237269)
I accept this point and admit to be a little bit biased, since I learned a lot about ARM disassembly by reverse engineering code that runs on an ARMv5 ("ancient" by your standards) core.