flat assembler
Message board for the users of flat assembler.
Index
> Main > haddpd same operand |
Author |
|
donn 25 Mar 2020, 03:56
Converted a second project to use fasmg calm from fasm1 this evening.
I have this really old scalar product calculation function that I thought worked and has this instruction: Code:
haddpd xmm0, xmm0
The message on assembling is: Code: flat assembler version g.iveex Includes.inc [29] Tensors.inc [240]: haddpd xmm0, xmm0 Processed: haddpd xmm0, xmm0 Error: illegal instruction. Is this correct? I'm not using this now and am just commenting it out. I guess it makes sense that the same register can't be used twice, but I just stumbled on this thread which has xmm1 as both operands: (See Leibniz Theory of Pi (calculates Pi) uses SSE2/3 section) https://board.flatassembler.net/topic.php?p=56115 With this commented out, this entire project assembles successfully also, just had to change the struc blocks to remove the curly braces and include label . mostly. |
|||
25 Mar 2020, 03:56 |
|
donn 25 Mar 2020, 17:23
Oh, cool! Confirmed works:
Code: flat assembler version g.iveex 4 passes, 3.1 seconds, 259922 bytes. |
|||
25 Mar 2020, 17:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.