misc: Use compiler.hh macros when available.
authorGabe Black <gabeblack@google.com>
Wed, 14 Oct 2020 07:38:42 +0000 (00:38 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 19 Oct 2020 05:52:40 +0000 (05:52 +0000)
commit463cb28ca5aa968c194c699a6d3abbe8a37ddc0f
treea5bdfeb8f451295d08a706abfe455481220c7886
parentb3dc64acb908036d60d58f45d43fa2abfe9648f0
misc: Use compiler.hh macros when available.

Some places were hand coding __attribute__s when macros in compiler.hh
were available to do that job. Using the macros helps abstract away
compiler specific details and should be used when possible.

Change-Id: I94befebcfde2d673e874e9959588f69781bd9021
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/35975
Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/isa/insts/sve.isa
src/arch/x86/linux/linux.hh
src/base/inet.hh
src/gpu-compute/compute_unit.hh
src/sim/init.cc