flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > bug in version 1.71.44

Author
Thread Post new topic Reply to topic
CandyMan



Joined: 04 Sep 2009
Posts: 414
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
CandyMan 31 Oct 2015, 13:15
Code:
use64
useavx512

vextractf32x8 [rsp+64]{k1}{z},zmm2,4           ;needed disp8=02h
vextractf64x4 [rsp+64]{k1}{z},zmm2,5           ;needed disp8=02h
vextracti32x8 [rsp+64]{k1}{z},zmm2,4           ;needed disp8=02h
vextracti64x4 [rsp+64]{k1}{z},zmm2,5           ;needed disp8=02h

vpcmpuw k1{k2},xmm2,xmm3,8              ;vpcmpuw<>vpcmpub
vpcmpuw k1{k2},ymm2,ymm3,6              ;vpcmpuw<>vpcmpub
vpcmpuw k1{k2},zmm2,zmm3,2              ;vpcmpuw<>vpcmpub
vpcmpuw k1{k2},xmm2,[rsp+64],8          ;vpcmpuw<>vpcmpub
vpcmpuw k1{k2},ymm2,[rsp+64],6          ;vpcmpuw<>vpcmpub
vpcmpuw k1{k2},zmm2,[rsp+64],2          ;vpcmpuw<>vpcmpub

vprord xmm1{k1}{z},xmm3,1               ;vprold changed with vprord
vprorq xmm1{k1}{z},xmm3,1               ;vprold changed with vprord
vprold xmm1{k1}{z},xmm3,1               ;vprold changed with vprord
vprolq xmm1{k1}{z},xmm3,1               ;vprold changed with vprord

vpsllw xmm1{k1}{z},xmm2,xword [rsp+$40] ;needed disp=04h
vpsllw ymm1{k1}{z},ymm2,xword [rsp+$40] ;needed disp=04h
vpsllw zmm1{k1}{z},zmm2,xword [rsp+$40] ;needed disp=04h
    

_________________
smaller is better
Post 31 Oct 2015, 13:15
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 31 Oct 2015, 15:31
I assembled this sample with fasmw 1.71.44 and all the VEXTRACTF# instructions have displacement 02h, and VPSLLW have displacement 04h. What was the result when you tested it? Perhaps some additional steps are required to reproduce the problem?
Post 31 Oct 2015, 15:31
View user's profile Send private message Visit poster's website Reply with quote
CandyMan



Joined: 04 Sep 2009
Posts: 414
Location: film "CandyMan" directed through Bernard Rose OR Candy Shop
CandyMan 31 Oct 2015, 16:15
you are right, I made a mistake...

_________________
smaller is better
Post 31 Oct 2015, 16:15
View user's profile Send private message Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 31 Oct 2015, 16:41
Thank you for your continued help! I uploaded the correction of instruction tables that fixes the mistakes with VPCMPUW and VPRO[L/R][D/Q] instructions.
Post 31 Oct 2015, 16:41
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.