aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorMaciej W. Rozycki <[email protected]>2015-04-03 23:25:43 +0100
committerRalf Baechle <[email protected]>2015-04-08 01:09:38 +0200
commitbd267a53055c1a0fb3a8ad7fa74ae91ece13dcfb (patch)
tree1b649744be5fea36fa5e4875b3d064a346dbcc88 /tools/perf/scripts/python/bin/export-to-postgresql-report
parentc9a1084516e35ff4f1d5b83e77530ed019ca364b (diff)
MIPS: math-emu: Remove redundant code from NaN comparison
Remove a redundant call to `ieee754_setandtestcx' in `ieee754sp_cmp' and `ieee754dp_cmp'. The IEEE 754 exception requested will have already been set by a call to `ieee754_setcx' immediately above, because `sig' has to be non-zero to reach here, and the comparison result returned will be 0 regardless of the result from the call. Simplify the return expression remaining. All this reducing the size of code by 16 and 12 instructions or 64 and 48 bytes respectively. Signed-off-by: Maciej W. Rozycki <[email protected]> Cc: [email protected] Patchwork: https://patchwork.linux-mips.org/patch/9690/ Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions