Files
gem5/src/base
Gabe Black a18241a6c1 base: Teach gem5 how to use 128 bit types for multiplication.
gcc provides __uint128_t and __int128_t types which represent 128 bit
wide unsigned and signed integers, respectively. We can detect that
extension and use it to perform wide multiplication which takes
advantage of the built in single multiply instruction on x86 hardware
without having to compute the value manually with 64 bit variables.

Since both gcc and clang should support this extension and the manual
version may not be exercised normally, this change also extends the
gtest for intmath so that it will explicitly run the manual versions of
these functions. On systems with the extension both versions will be
tested, and on other systems the manual version will be harmlessly
tested twice.

Change-Id: I32640679396584cd43bc91a3f7e649c6e6f94afa
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42359
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
2021-04-23 04:55:13 +00:00
..
2020-09-08 16:24:28 +00:00
2020-09-08 16:32:38 +00:00
2020-09-08 16:29:50 +00:00
2021-01-23 12:09:34 +00:00
2020-09-16 07:57:40 +00:00
2021-01-23 12:09:34 +00:00
2021-04-07 01:29:31 +00:00
2021-01-23 12:09:34 +00:00
2021-01-23 12:09:34 +00:00
2021-01-23 12:09:34 +00:00
2021-01-23 12:09:34 +00:00
2021-01-13 08:55:59 +00:00
2021-01-23 12:09:34 +00:00
2020-09-08 16:24:56 +00:00
2021-02-10 09:03:09 +00:00
2021-02-10 09:03:09 +00:00
2021-01-23 12:09:34 +00:00
2021-01-23 12:09:34 +00:00
2021-01-15 23:15:30 +00:00