mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-16 14:31:59 +00:00
1b9b377975
tablegen patterns for scalar FMA4 operations and intrinsic. Also add tests for vfmaddsd. Patch by Jan Sjodin git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145133 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
529 B
ArmAsm
14 lines
529 B
ArmAsm
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
|
|
|
|
// CHECK: vfmaddsd (%rcx), %xmm1, %xmm0, %xmm0
|
|
// CHECK: encoding: [0xc4,0xe3,0xf9,0x6b,0x01,0x10]
|
|
vfmaddsd (%rcx), %xmm1, %xmm0, %xmm0
|
|
|
|
// CHECK: vfmaddsd %xmm1, (%rcx), %xmm0, %xmm0
|
|
// CHECK: encoding: [0xc4,0xe3,0x79,0x6b,0x01,0x10]
|
|
vfmaddsd %xmm1, (%rcx),%xmm0, %xmm0
|
|
|
|
// CHECK: vfmaddsd %xmm2, %xmm1, %xmm0, %xmm0
|
|
// CHECK: encoding: [0xc4,0xe3,0xf9,0x6b,0xc2,0x10]
|
|
vfmaddsd %xmm2, %xmm1, %xmm0, %xmm0
|