flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > Macros to choose target CPU Goto page Previous 1, 2, 3 |
Author |
|
rugxulo 12 Mar 2009, 23:35
revolution, although I think 99% of people who want SSE2 also expect SSE to be there, you do have a point.
And I've heard some chips don't even have all instructions (e.g. some VIA "686" without CMOV??). Even Intel in one of their manuals claimed "don't expect FPU to always be available on 586, always test CPUID" (although I don't know of any that didn't). Same with some early PPros (allegedly) not supporting CMOVs either, an old controversy that GCC ignores (for them, i686 always assumes CMOV). Even old Cyrix didn't support CPUID unless enabled via some MSRs. Oh, and don't forget the 80376 and conflicts like VIA C3 (MMX, 3dnow!) and C3-2 (MMX, SSE). (But you know 1000x more than me.) Besides, maybe somebody wants FASM to ignore / warn upon accidental include / use of (slow) FPU in favor of SSE2 or disallow SSE in favor of 3dnow! or whatever. In short, it doesn't really matter if it's not perfect (as nothing really is anyways). |
|||
12 Mar 2009, 23:35 |
|
Kicer 31 Aug 2010, 18:28
with .386 I get:
Code: rb -1 ;LAHF not valid in 64 bit mode when I use lahf. |
|||
31 Aug 2010, 18:28 |
|
revolution 31 Aug 2010, 23:55
Kicer wrote: with .386 I get: |
|||
31 Aug 2010, 23:55 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.