flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 03 Aug 2025, 16:31
Code: macro ffa [xm,a,b] { common xorps xmm7,xmm7 forward @xmregtt equ xm movss xmm#xm,[initFilter#.#a] mulss xmm#xm,[filter#.#b] common irpv v,@xmregtt \{ addss xmm7,xmm\#\v \} common irpv v,@xmregtt \{ restore @xmregtt \} } |
|||
![]() |
|
macomics 03 Aug 2025, 20:57
Code: macro ffa [xm,a,b] { common xorps xmm7,xmm7 forward movss xmm#xm,[initFilter#.#a] mulss xmm#xm,[filter#.#b] forward addss xmm7,xmm#xm } macro ffa [xm,a,b] { common xorps xmm7,xmm7 forward movss xmm#xm,[initFilter#.#a] mulss xmm#xm,[filter#.#b] addss xmm7,xmm#xm } |
|||
![]() |
|
Roman 05 Aug 2025, 11:04
next problem.
Code: macro xmmul [r,a,b] { if a eqtype 0 movss xmm#r,xmm#a else movss xmm#r,[a] end if mulss xmm#r,[b] } ;in code .a1 dd 2.0 .prevI dd 0 xmmul 3,.a1,.prevI,4,2,.a1 ;fasm error movss xmm3,xmm.a1 I expected movss xmm3,[.a1] |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.