flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > 'movhlpd' and 'movlhpd' Illegal instructions, says FASM

Author
Thread Post new topic Reply to topic
mattst88



Joined: 12 May 2006
Posts: 260
Location: South Carolina
mattst88
Any insight as to why FASM would say these two instructions ('movlhpd', 'movhlpd') are illegal? Just not been implemented maybe?

Edit: It doesn't seem gas recognizes them either.
Post 24 May 2006, 00:45
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17450
Location: In your JS exploiting you and your system
revolution
That is for a good reason, the processor has no such instuctions.
Post 24 May 2006, 01:23
View user's profile Send private message Visit poster's website Reply with quote
mattst88



Joined: 12 May 2006
Posts: 260
Location: South Carolina
mattst88
Why would it appear on this page and why would r22 have used it in his code in this thread in that case?
Post 24 May 2006, 04:34
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17450
Location: In your JS exploiting you and your system
revolution
I can't personally comment on other people postings but check the processor manuals from Intel and AMD, you won't find them listed. There are other instructions that can do the same thing so there is no need for such instructions.
Post 24 May 2006, 07:06
View user's profile Send private message Visit poster's website Reply with quote
mattst88



Joined: 12 May 2006
Posts: 260
Location: South Carolina
mattst88
Which instruction(s) should I replace these with?

Thanks, btw Smile
Post 24 May 2006, 16:22
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17450
Location: In your JS exploiting you and your system
revolution
Quote:
Which instruction(s) should I replace these with?
MOVHLPS & MOVLHPS will work correctly with both single and double floats, also check out PSHUFD which generalises the data movements.
Post 24 May 2006, 17:07
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-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.