summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/X86/intel-syntax-2.s
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Print all register forms of x87 fadd/fsub/fdiv/fmul as having two ↵Craig Topper2019-02-041-6/+6
| | | | | | | | | | arguments where on is %st. All of these instructions consume one encoded register and the other register is %st. They either write the result to %st or the encoded register. Previously we printed both arguments when the encoded register was written. And we printed one argument when the result was written to %st. For the stack popping forms the encoded register is always the destination and we didn't print both operands. This was inconsistent with gcc and objdump and just makes the output assembly code harder to read. This patch changes things to always print both operands making us consistent with gcc and objdump. The parser should still be able to handle the single register forms just as it did before. This also matches the GNU assembler behavior. llvm-svn: 353061
* [x86] translating "fp" (floating point) instructions from ↵Michael Zuckerman2015-11-121-0/+14
| | | | | | | | | | | {fadd,fdiv,fmul,fsub,fsubr,fdivr} to {faddp,fdivp,fmulp,fsubp,fsubrp,fdivrp} LLVM Missing the following instructions: fadd\fdiv\fmul\fsub\fsubr\fdivr. GAS and MS supporting this instruction and lowering them in to a faddp\fdivp\fmulp\fsubp\fsubrp\fdivrp instructions. Differential Revision: http://reviews.llvm.org/D14217 llvm-svn: 252908
* MC X86: Accept ".att_syntax prefix" and diagnose noprefixReid Kleckner2014-08-061-0/+8
| | | | | | | | Fixes PR18916. I don't think we need to implement support for either hybrid syntax. Nobody should write Intel assembly with '%' prefixes on their registers or AT&T assembly without them. llvm-svn: 215031
* Add newline.Chad Rosier2012-09-101-1/+1
| | | | llvm-svn: 163565
* [ms-inline asm] Add support for .att_syntax directive.Chad Rosier2012-09-101-2/+4
| | | | llvm-svn: 163542
* Intel syntax. Support .intel_syntax directive.Devang Patel2012-01-301-0/+7
llvm-svn: 149270
OpenPOWER on IntegriCloud