Intel C++ Compiler generates GNU-style assembly (AT&T).S file as an output file when done as "icpc -fasm-blocks test.cc -S", normally the common MOV instructions are - movq, movslq, movss, movsd, movntq, movntdq, etc.
But when one has to write Inline assembly file using Intel-syntax (NASM) by having the above .S output file as reference, how does assembler used by Intel takes care the difference between NASM & AT&T syntax. Even, I write the input Inline Assembly file using NASM syntax, the output .S assembly file and disassembly file both are generated in GNU-style syntax. How does this transfer happens internally?
How does one take care theGNU-styleall MOV (movq, movslq, movss, movsd, etc.)instructions syntaxw.r.t toIntel syntax(NASM), like movq in GNU-style has to be written as mov in NASM(Intel) syntax where the type of long, quad, etc. in Intel syntax is taken care by automatically?
Do Intel has some table for instructions conversion ofGNU-style Assembly(GAS/AT&T) to Intel Assembly(NASM)?