vec_subc in core::arch::powerpc - Rust
Description: Vector Subtract Carryout

Skip to main content

## vec_subc

# Function vec_subc

Source

    pub unsafe fn vec_subc<T, U>(a: T, b: U) -> <T as VectorSubc<U>>::Resultwhere
        T: VectorSubc<U>,

🔬This is a nightly-only experimental API. (`stdarch_powerpc` #111145)
Available on PowerPC and target feature `altivec` and (PowerPC or PowerPC64) only.
Expand description

Vector Subtract Carryout

### §Purpose

Returns a vector wherein each element contains the carry produced by subtracting the corresponding elements of the two source vectors.

### §Result value

The value of each element of r is the complement of the carry produced by subtract- ing the value of the corresponding element of b from the value of the corresponding element of a. The value is 0 if a borrow occurred, or 1 if no borrow occurred.