summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorUsama Arif <usama.arif@linaro.org>2019-10-30 14:58:40 +0000
committerUsama Arif <usama.arif@linaro.org>2019-11-08 13:53:57 +0000
commitd74c1cd61ff9c240423a1f788c82dc844aad2d74 (patch)
tree1996dd92ec2c13d2bce16dfe2d383000bc010e26 /annotations/generate_annotated_java_files.py
parent666f7a3cfee31e3a721cc5407cc00062ba17c5c4 (diff)
Mask result with qNaN if input to rint is NaN
This CL masks the output with qNaN for rint 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 rint function. Test: cts-tradefed run singleCommand cts-dev --module CtsLibcoreTestCases --test libcore.libcore.util.FP16Test Change-Id: I431ea90e22b813491d2cdb95daf9b186c7ca15f2
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions