vec_subec_u128 in core::arch::s390x - Rust
Description: Vector Subtract with Carryout, Carryout

Skip to main content

## vec_subec_u128

# Function vec_subec_u128

Source

    pub unsafe fn vec_subec_u128(
        a: vector_unsigned_char,
        b: vector_unsigned_char,
        c: vector_unsigned_char,
    ) -> vector_unsigned_char

🔬This is a nightly-only experimental API. (`stdarch_s390x` #135681)
Available on s390x and non-`target_abi=softfloat` and target feature `vector` only.
Expand description

Vector Subtract with Carryout, Carryout

Gets the carry bit of the 128-bit subtraction of two quadword values with carry bit from the previous operation.

It returns a vector containing the carryout produced from the result of subtracting of b from a, and the carryout bit from a previous operation. If no borrow occurred, the 127-bit of d is 1, otherwise 0. All other bits of d are 0.

Note: Only the borrow indication bit (127-bit) of c is used, and the other bits are ignored.