brintos

brintos / llvm-project-archived public Read only

0
0
Text · 937 B · 1ba2dc6 Raw
25 lines · plain
1// RUN: llvm-mc -triple i386-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s2 3// CHECK: prefetchrst2 byte ptr [esp + 8*esi + 268435456]4// CHECK: encoding: [0x0f,0x18,0xa4,0xf4,0x00,0x00,0x00,0x10]5prefetchrst2 byte ptr [esp + 8*esi + 268435456]6 7// CHECK: prefetchrst2 byte ptr [edi + 4*eax + 291]8// CHECK: encoding: [0x0f,0x18,0xa4,0x87,0x23,0x01,0x00,0x00]9prefetchrst2 byte ptr [edi + 4*eax + 291]10 11// CHECK: prefetchrst2 byte ptr [eax]12// CHECK: encoding: [0x0f,0x18,0x20]13prefetchrst2 byte ptr [eax]14 15// CHECK: prefetchrst2 byte ptr [2*ebp - 32]16// CHECK: encoding: [0x0f,0x18,0x24,0x6d,0xe0,0xff,0xff,0xff]17prefetchrst2 byte ptr [2*ebp - 32]18 19// CHECK: prefetchrst2 byte ptr [ecx + 127]20// CHECK: encoding: [0x0f,0x18,0x61,0x7f]21prefetchrst2 byte ptr [ecx + 127]22 23// CHECK: prefetchrst2 byte ptr [edx - 128]24// CHECK: encoding: [0x0f,0x18,0x62,0x80]25prefetchrst2 byte ptr [edx - 128]