[haiku-commits] Re: BRANCH xyzzy-github.x86_64 - src/system/kernel/arch/x86 src/system/kernel/arch/x86/32 src/system/kernel/arch/x86/64 headers/private/kernel/arch/x86

  • From: Philippe Houdoin <philippe.houdoin@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 10 Jul 2012 11:05:18 +0200

> I find neither naming scheme optimal. The best I've come up with is to use
> a placeholder character instead (like "xax", "_ax", or "$ax"), but that
> isn't that beautiful either. So, either way is fine by me.

Can't we use union trick (with some padding love) to represent all of
them at once : lower 16bits ax, lower 32bits eax and full 64bits rax?
Just my .00002 cents, as I'm clearly not an assembly guy.

Bye,
Philippe.

Other related posts: