33 lines · plain
1// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 52// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16,+wavefrontsize32 -show-encoding %s | FileCheck --check-prefix=GFX11 %s3 4// INSTS=5// v_ceil_f32 OPS326// v_cos_f32 OPS327//8// SRC32=9// v1 # A comment.10// 0.511//12// OPS32=13// v5, SRC3214// v255, 0xaf12345615 16v_ceil_f32 v5, v117// GFX11: v_ceil_f32_e32 v5, v1 ; encoding: [0x01,0x45,0x0a,0x7e]18 19v_ceil_f32 v5, 0.520// GFX11: v_ceil_f32_e32 v5, 0.5 ; encoding: [0xf0,0x44,0x0a,0x7e]21 22v_ceil_f32 v255, 0xaf12345623// GFX11: v_ceil_f32_e32 v255, 0xaf123456 ; encoding: [0xff,0x44,0xfe,0x7f,0x56,0x34,0x12,0xaf]24 25v_cos_f32 v5, v126// GFX11: v_cos_f32_e32 v5, v1 ; encoding: [0x01,0x6d,0x0a,0x7e]27 28v_cos_f32 v5, 0.529// GFX11: v_cos_f32_e32 v5, 0.5 ; encoding: [0xf0,0x6c,0x0a,0x7e]30 31v_cos_f32 v255, 0xaf12345632// GFX11: v_cos_f32_e32 v255, 0xaf123456 ; encoding: [0xff,0x6c,0xfe,0x7f,0x56,0x34,0x12,0xaf]33