summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@linaro.org>2019-10-28 17:13:45 +0000
committerUsama Arif <usama.arif@linaro.org>2019-11-08 13:53:55 +0000
commit666f7a3cfee31e3a721cc5407cc00062ba17c5c4 (patch)
tree28098cef57b42b7d05b9ce063e81dbefffcd1abb /annotations/generate_annotated_java_files.py
parent5220a026d803ccbcb8e01bc694897b50517fc579 (diff)
Mask result with qNaN if input to ceil is NaN
This CL masks the output with qNaN for ceil of FP16 NaN values i.e. mask the most significant mantissa bit with 1. In ARM hardware, the rest of the mantissa bits are still processed when input is NaN, therefore the mask comes at the end of the ceil function. Test: cts-tradefed run singleCommand cts-dev --module CtsUtilTestCases --test android.util.cts.FP16Test Test: Exhaustive testing of 0x0..0xFFFF input bits between the java implementation and FRINTP ARM instruction Change-Id: Id48a9f1c9afd0504d4f6d9d36d66a23a0e94c328
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions