Convert Quadword to Longword (cvtql)

Syntax

cvtql $s_reg, $d_reg

cvtql $d_reg/$s_reg

Description

Convert Quadword to Longword converts the quadword integer contents of $s_reg to the longword integer format and places the result in $d_reg. If an integer overflow occurs, the truncated result is stored in $d_reg and, if enabled, an arithmetic trap occurs.

Qualifiers

The following table describes the qualifiers for the cvtql instructions:

Instruction Qualifier description
no qualifier IEEE Rounding Mode: Normal rounding
  IEEE Trap Mode: Imprecise, integer overflow disabled, inexact disabled
cvtqlv IEEE Convert-to-Integer Trap Mode: Imprecise, integer overflow enabled, inexact disabled
cvtqlsv IEEE Convert-to-Integer Trap Mode: Software, integer overflow enabled, inexact disabled