Re: 387 emulator hack - mutant AAD trick - any objections?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[email protected] writes:
 > Will there be any objections to using a quasi-documented mutation of the
 > x86's AAD instruction in the 387 emulator? Every CPU around has to do this
 > mutation correctly or a LOT of existing code will break...
 > 
 > The performance of storing to user space of BCD numbers in the 387 emulator
 > code could be improved significantly by using the mutant AAD instruction
 > trick (i.e. alter its implicit base from 10 to 16).  See reg_ld_str.c, in
 > function FPU_store_bcd()

What do you mean by "quasi-documented" and "mutant"?
Intel certainly documents the "D5 ib" form as being a
valid way to change the base from the default 10.

The only issue AFAIK is that assemblers may only
recognise the plain base-10 AAD syntax. No biggie.

/Mikael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux