brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1011 B · 36317a0 Raw
25 lines · plain
1// RUN: llvm-mc -triple x86_64 -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s2 3// CHECK: prefetchrst2 byte ptr [rbp + 8*r14 + 268435456]4// CHECK: encoding: [0x42,0x0f,0x18,0xa4,0xf5,0x00,0x00,0x00,0x10]5          prefetchrst2 byte ptr [rbp + 8*r14 + 268435456]6 7// CHECK: prefetchrst2 byte ptr [r8 + 4*rax + 291]8// CHECK: encoding: [0x41,0x0f,0x18,0xa4,0x80,0x23,0x01,0x00,0x00]9          prefetchrst2 byte ptr [r8 + 4*rax + 291]10 11// CHECK: prefetchrst2 byte ptr [rip]12// CHECK: encoding: [0x0f,0x18,0x25,0x00,0x00,0x00,0x00]13          prefetchrst2 byte ptr [rip]14 15// CHECK: prefetchrst2 byte ptr [2*rbp - 32]16// CHECK: encoding: [0x0f,0x18,0x24,0x6d,0xe0,0xff,0xff,0xff]17          prefetchrst2 byte ptr [2*rbp - 32]18 19// CHECK: prefetchrst2 byte ptr [rcx + 127]20// CHECK: encoding: [0x0f,0x18,0x61,0x7f]21          prefetchrst2 byte ptr [rcx + 127]22 23// CHECK: prefetchrst2 byte ptr [rdx - 128]24// CHECK: encoding: [0x0f,0x18,0x62,0x80]25          prefetchrst2 byte ptr [rdx - 128]