Skip to content
Commit 60858839 authored by Eric Kunze's avatar Eric Kunze
Browse files

Handle CAST from fp-type to narrow integer types



Be explicit that the value is converted to int32 and then clamped to the
output type range.

Also remove use of apply_clip, replacing with either apply_clip_s or apply_clip_u

Signed-off-by: Eric Kunze's avatarEric Kunze <eric.kunze@arm.com>
Change-Id: I0efc7f4d653c1bef13c9989cfe2647208dad9617
parent 0808d63e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment