flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > MMX, SSE?

Author
Thread Post new topic Reply to topic
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld
I was confused a bit when my program terminated on such kind of instruction:
Code:
movdq xmm0,[mem]    

any suggestions???
Post 19 Apr 2004, 06:06
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
mike.dld wrote:
I was confused a bit when my program terminated on such kind of instruction:
Code:
movdq xmm0,[mem]    

any suggestions???


no such instruction, You should use:
MOVDQA - for 16-byte aligned memory only!
or
MOVDQU - for 16-byte un-aligned memory (slow)
Post 19 Apr 2004, 08:46
View user's profile Send private message Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld
sorry, I was wrong - of course movdqa, but it not works anyway
Post 19 Apr 2004, 15:41
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Does menuet set the correct control register flags and handle the XMM state on context switches? If the unaligned fails too, this might be your problem.
Post 19 Apr 2004, 23:02
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 can attach files in this forum
You can download files in this forum


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

Website powered by rwasa.