28.2.72 __builtin_udiv

Description

Perform a mixed mode unsigned divide.

Prototype

uint16_t __builtin_udiv_3216(const uint32_t x, const uint16_t y);

Arguments

x – numerator

y – denominator

Return Value

Returns x/y if the result is in bounds of a 16-bit unsigned result.

Machine Instruction

divu.l

Error Messages

None.