// NOTE: Assertions have been autogenerated by utils/update_mc_test_checks.py UTC_ARGS: --version 5
// RUN: llvm-mc -triple=amdgcn -mcpu=gfx1100 -mattr=+real-true16,+wavefrontsize32 -show-encoding %s | FileCheck --check-prefix=GFX11 %s

//  INSTS=
//      v_ceil_f32 OPS32
//      v_cos_f32 OPS32
//
//  SRC32=
//      v1    # A comment.
//      0.5
//
//  OPS32=
//      v5, SRC32
//      v255, 0xaf123456

v_ceil_f32 v5, v1
// GFX11: v_ceil_f32_e32 v5, v1                   ; encoding: [0x01,0x45,0x0a,0x7e]

v_ceil_f32 v5, 0.5
// GFX11: v_ceil_f32_e32 v5, 0.5                  ; encoding: [0xf0,0x44,0x0a,0x7e]

v_ceil_f32 v255, 0xaf123456
// GFX11: v_ceil_f32_e32 v255, 0xaf123456         ; encoding: [0xff,0x44,0xfe,0x7f,0x56,0x34,0x12,0xaf]

v_cos_f32 v5, v1
// GFX11: v_cos_f32_e32 v5, v1                    ; encoding: [0x01,0x6d,0x0a,0x7e]

v_cos_f32 v5, 0.5
// GFX11: v_cos_f32_e32 v5, 0.5                   ; encoding: [0xf0,0x6c,0x0a,0x7e]

v_cos_f32 v255, 0xaf123456
// GFX11: v_cos_f32_e32 v255, 0xaf123456          ; encoding: [0xff,0x6c,0xfe,0x7f,0x56,0x34,0x12,0xaf]
