avx cmpps pseudo ops.

Original Reporter info from Mantis: marco @marcoonthegit
  • Reporter name: Marco van de Voort

Description:

(v)cmpps is a complex instruction that takes the kind of comparison as last argument. A lot of compilers/assembler (VS and ollydbg in my case) define some aliases mnemonics for them:

CMPEQPS xmm1, xmm2 CMPPS xmm1, xmm2, 0
CMPLTPS xmm1, xmm2 CMPPS xmm1, xmm2, 1
CMPLEPS xmm1, xmm2 CMPPS xmm1, xmm2, 2
CMPUNORDPS xmm1, xmm2 CMPPS xmm1, xmm2, 3
CMPNEQPS xmm1, xmm2 CMPPS xmm1, xmm2, 4
CMPNLTPS xmm1, xmm2 CMPPS xmm1, xmm2, 5
CMPNLEPS xmm1, xmm2 CMPPS xmm1, xmm2, 6
CMPORDPS xmm1, xmm2 CMPPS xmm1, xmm2, 7

It would be nice if FPC supported them too.

Mantis conversion info:

  • Mantis ID: 32001
  • Fixed in version: 3.1.1
  • Fixed in revision: 38403 (#f21a1411)