I would have to agree with this.
ReactOS.Bugzilla@reactos.org wrote:
http://www.reactos.org/bugzilla/show_bug.cgi?id=1264
------- Additional Comments From gvg@reactos.org 2006-01-10 19:07 CET ------- I'd prefer something along the lines of:
FooBarFast: non-486 implementation
FooBar486: 486 implementation
FooBarInit: Store either FooBarFast or FooBar486 in FooBarPtr
FooBarPtr: .long FooBarInit
.global ExfFooBar ExfFooBar: jmp [FooBarPtr]
No self modifying code, at the expense of an indirect jump