[fpc-devel] BMI2 instructions implemented
Florian Klämpfl
florian at freepascal.org
Sun Oct 7 12:12:13 CEST 2018
Am 07.10.2018 um 02:08 schrieb J. Gareth Moreton:
> Hi everyone,
>
> Sorry I've been away for a while - hope my infectious enthusiasm has still been contagious!
>
> Anyhow, I've finally managed to implement the BMI2 instructions for i386 and x86-64 over at
> https://bugs.freepascal.org/view.php?id=33549. I'm not certain if everything is truly correct since my CPU doesn't
> actually support the instructions. I did, however, compare the disassembly of a program written in Visual C++ with that
> of Free Pascal with the new instructions, and confirmed that they produced the same machine code. The disassembler in
> Lazarus also now supports these instructions, so that acts as a second source of comparison too.
Thanks, applied (with some fixes though, operand order in x86ins.dat is Intel assembler style, except for the operands
in the change information though).
More information about the fpc-devel
mailing list