1bf215546Sopenharmony_ci; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s
2bf215546Sopenharmony_ci
3bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@exp2:
4bf215546Sopenharmony_ci; GCN: main
5bf215546Sopenharmony_ci; GCN: v_interp_mov
6bf215546Sopenharmony_ci; GCN-NEXT: v_exp_f32
7bf215546Sopenharmony_ci; GCN-NEXT: epilog
8bf215546Sopenharmony_ci
9bf215546Sopenharmony_ci#shader fs exp2
10bf215546Sopenharmony_ci#version 400
11bf215546Sopenharmony_ciflat in float f;
12bf215546Sopenharmony_civoid main() {
13bf215546Sopenharmony_ci    gl_FragColor.x = exp2(f);
14bf215546Sopenharmony_ci}
15