It is currently Wed Jan 20, 2021 5:44 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: EnableASM missing instructions
PostPosted: Sun Aug 24, 2014 11:25 am 
Offline
Addict
Addict
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 1359
Location: Germany, Glienicke
I miss some ASM (SSE) instructions in combination with EnableASM:
Code:
EnableASM

ProcedureDLL.i V4_Add(*InOut, *In)
   MOV eax, [p.p_InOut]
   MOV edx, [p.p_In]
   MOVUPS xmm0, [eax] ; << Syntax error !!
   MOVUPS xmm1, [edx]
   ADDPS  xmm0, xmm1
   MOVUPS [eax], xmm0
   ProcedureReturn
EndProcedure

DisableASM


It is possible to add this SSE-instructions ?

_________________
ImageImage


Top
 Profile  
Reply with quote  
 Post subject: Re: EnableASM missing instructions
PostPosted: Sun Aug 24, 2014 11:44 am 
Offline
PureBasic Expert
PureBasic Expert

Joined: Sun Aug 08, 2004 5:21 am
Posts: 3710
Location: Netherlands
Just this morning I was thinking about doing the same request :)
It would indeed be nice if support for these instructions could be added.
Another issue is labels. When you define a PB label and use a JMP instruction with the name of the label, it doesn't work.
It would make sense if a !jmp with the exclamation mark would be left alone and wihtout the exclamation mark would be able to handle a PB label.

_________________
macOS 10.15 Catalina, Windows 10


Top
 Profile  
Reply with quote  
 Post subject: Re: EnableASM missing instructions
PostPosted: Sun Aug 24, 2014 1:25 pm 
Offline
Addict
Addict
User avatar

Joined: Wed Aug 31, 2005 11:09 pm
Posts: 3698
Location: Italy
@STARGATE since this is not a feature request, maybe it was really intended as a question.

In that case, you can use SSE instructions by using the "!" passthrough to send the instructions directly to FASM.

_________________
[ My little PureBasic review ]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye