Author Topic: unknown argument type -> xmm0  (Read 3192 times)

jj2007

  • Member
  • *****
  • Posts: 9743
  • Assembler is fun ;-)
    • MasmBasic
Re: unknown argument type -> xmm0
« Reply #15 on: November 01, 2017, 01:54:01 AM »
The alignment is required if you are going to use instructions that require alignment, some do and some don't

Specifically, movaps requires alignment but movups/movdqu etc don't, and the speed penalty is normally negligible.

Btw the alignment of SIMD instructions concerns memory (.data?), not code. So align 16 in the code section is not required and does not do anything useful.

felipe

  • Member
  • *****
  • Posts: 1250
  • Eagles are just great!
Re: unknown argument type -> xmm0
« Reply #16 on: November 01, 2017, 11:49:09 AM »
markallyn: I understood. I still don't try 64 bits. I think that when i get started i will find resources to learn it ( i love studying with good books). Probably my 16 and 32 bits experience will help me. I know is a hard advice to follow. I once got it from an assembly proffesor from an ARM book last year i think, it was somenthing related to trying random things in your programs to see what can happen, but he say that you really don't gain more knowledge with that.

Of course you can't know if you don't try, but i think i like to study in a more methodical way.

 :icon14: :icon14: :icon14: :icon14: :icon14:
Felipe.

felipe

  • Member
  • *****
  • Posts: 1250
  • Eagles are just great!
Re: unknown argument type -> xmm0
« Reply #17 on: November 02, 2017, 03:32:22 PM »
Btw markallyn i wasn't trying to discourage your efforts, i was just trying to give you an advice to optimize your time.
 :icon14:

As you can figure i'm not an expert (i will love to  :P) so you can safely ignore me completly.
 :biggrin:
Felipe.