1  .globl  internal_FPU_rmode
2  .proc internal_FPU_rmode
3internal_FPU_rmode::
4  // get the floating point rounding control bits
5  // bits 10 and 11 are the rc bits from main status field fpsr.sf0
6  mov   r8= ar.fpsr;;
7  shr   r8 = r8, 10
8  mov   r9 = 3;;
9  and   r8 = r8, r9;;
10  br.sptk.few b0
11
12  .endp internal_FPU_rmode
13