tile: support gcc 7 optimization to use __multi3
authorChris Metcalf <cmetcalf@mellanox.com>
Fri, 24 Jun 2016 19:27:53 +0000 (15:27 -0400)
committerChris Metcalf <cmetcalf@mellanox.com>
Fri, 24 Jun 2016 19:32:02 +0000 (15:32 -0400)
commit893d66192c4682835322fb55d47c9410da6cbfef
treefa1e0b680ab4cc0f0396c1ec58833c23aeb23734
parentca768667d87331d2e2fc84e1546fbf96f22ed5fe
tile: support gcc 7 optimization to use __multi3

The tip gcc includes an optimization mode that converts
64-bit divides into 128-bit multiplies using __multi3.
Export the symbol so that modules can find it.  We just
export unconditionally without worrying about the gcc
version, since the symbol has been in libgcc forever and
the function is less than 300 bytes.

Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com>
arch/tile/lib/exports.c