commit | e16301f96b46799a5a9b1c43bf312aa19171f617 | [log] [tgz] |
---|---|---|
author | Gabe Black <gabe.black@gmail.com> | Fri Feb 12 17:25:24 2021 -0800 |
committer | Gabe Black <gabe.black@gmail.com> | Sat Feb 13 08:46:05 2021 +0000 |
tree | fd31c488ab8c7b0c2cdf71f902de4fe4b1626f82 | |
parent | 13cda5a73442565abb3222d3197faa790ce7e016 [diff] |
arch-x86: Use popCount from bitfields.hh. Use popCount from bitfields.hh rather than call __builtin_popcountl directly. That will ensure the instruction works whether or not that builtin is available. Change-Id: I947b35bb832b768936b489a58ee324adb8a90b5e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/41354 Reviewed-by: Jason Lowe-Power <power.jg@gmail.com> Maintainer: Jason Lowe-Power <power.jg@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>