1bf215546Sopenharmony_ci; RUN: ./amdgcn_glslc %s | FileCheck -check-prefix=GCN -check-prefix=FUNC %s 2bf215546Sopenharmony_ci 3bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@min_f64: 4bf215546Sopenharmony_ci; GCN: main 5bf215546Sopenharmony_ci; GCN: v_interp_mov 6bf215546Sopenharmony_ci; GCN: v_interp_mov 7bf215546Sopenharmony_ci; GCN: v_interp_mov 8bf215546Sopenharmony_ci; GCN: v_interp_mov 9bf215546Sopenharmony_ci; GCN-NEXT: v_min_f64 10bf215546Sopenharmony_ci; GCN-NEXT: epilog 11bf215546Sopenharmony_ci 12bf215546Sopenharmony_ci#shader fs min_f64 13bf215546Sopenharmony_ci#version 400 14bf215546Sopenharmony_ciflat in dvec2 v; 15bf215546Sopenharmony_ciout uvec4 o; 16bf215546Sopenharmony_civoid main() { 17bf215546Sopenharmony_ci o.xy = unpackDouble2x32(min(v.x, v.y)); 18bf215546Sopenharmony_ci} 19bf215546Sopenharmony_ci 20bf215546Sopenharmony_ci 21bf215546Sopenharmony_ci; FUNC-LABEL: {{^}}@max_f64: 22bf215546Sopenharmony_ci; GCN: main 23bf215546Sopenharmony_ci; GCN: v_interp_mov 24bf215546Sopenharmony_ci; GCN: v_interp_mov 25bf215546Sopenharmony_ci; GCN: v_interp_mov 26bf215546Sopenharmony_ci; GCN: v_interp_mov 27bf215546Sopenharmony_ci; GCN-NEXT: v_max_f64 28bf215546Sopenharmony_ci; GCN-NEXT: epilog 29bf215546Sopenharmony_ci 30bf215546Sopenharmony_ci#shader fs max_f64 31bf215546Sopenharmony_ci#version 400 32bf215546Sopenharmony_ciflat in dvec2 v; 33bf215546Sopenharmony_ciout uvec4 o; 34bf215546Sopenharmony_civoid main() { 35bf215546Sopenharmony_ci o.xy = unpackDouble2x32(max(v.x, v.y)); 36bf215546Sopenharmony_ci} 37