blob: b4b7a633fa319a1b24c44ef9189ecc92e0ef5e97 [file] [log] [blame]
# RUN: llvm-mc -triple x86_64 -show-encoding %s | FileCheck %s
# RUN: not llvm-mc -triple i386 -show-encoding %s 2>&1 | FileCheck %s --check-prefix=ERROR
# ERROR-COUNT-32: error:
# ERROR-NOT: error:
# CHECK: setzuo %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x40,0xc0]
setzuo %al
# CHECK: setzuno %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x41,0xc0]
setzuno %al
# CHECK: setzub %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x42,0xc0]
setzub %al
# CHECK: setzuae %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x43,0xc0]
setzuae %al
# CHECK: setzue %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x44,0xc0]
setzue %al
# CHECK: setzune %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x45,0xc0]
setzune %al
# CHECK: setzube %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x46,0xc0]
setzube %al
# CHECK: setzua %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x47,0xc0]
setzua %al
# CHECK: setzus %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x48,0xc0]
setzus %al
# CHECK: setzuns %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x49,0xc0]
setzuns %al
# CHECK: setzup %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4a,0xc0]
setzup %al
# CHECK: setzunp %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4b,0xc0]
setzunp %al
# CHECK: setzul %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4c,0xc0]
setzul %al
# CHECK: setzuge %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4d,0xc0]
setzuge %al
# CHECK: setzule %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4e,0xc0]
setzule %al
# CHECK: setzug %al
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4f,0xc0]
setzug %al
# CHECK: setzuo (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x40,0x00]
setzuo (%rax)
# CHECK: setzuno (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x41,0x00]
setzuno (%rax)
# CHECK: setzub (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x42,0x00]
setzub (%rax)
# CHECK: setzuae (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x43,0x00]
setzuae (%rax)
# CHECK: setzue (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x44,0x00]
setzue (%rax)
# CHECK: setzune (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x45,0x00]
setzune (%rax)
# CHECK: setzube (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x46,0x00]
setzube (%rax)
# CHECK: setzua (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x47,0x00]
setzua (%rax)
# CHECK: setzus (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x48,0x00]
setzus (%rax)
# CHECK: setzuns (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x49,0x00]
setzuns (%rax)
# CHECK: setzup (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4a,0x00]
setzup (%rax)
# CHECK: setzunp (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4b,0x00]
setzunp (%rax)
# CHECK: setzul (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4c,0x00]
setzul (%rax)
# CHECK: setzuge (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4d,0x00]
setzuge (%rax)
# CHECK: setzule (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4e,0x00]
setzule (%rax)
# CHECK: setzug (%rax)
# CHECK: encoding: [0x62,0xf4,0x7f,0x18,0x4f,0x00]
setzug (%rax)