Michael Clark 244df42133
RISC-V: Replace __builtin_popcount with ctpop8 in PLIC
The mode variable only uses the lower 4-bits (M,H,S,U) so
replace the GCC specific __builtin_popcount with ctpop8.

Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cc: Alistair Francis <Alistair.Francis@wdc.com>
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
2019-03-19 05:14:38 -07:00
..
2019-03-07 21:45:53 +01:00
2019-03-08 16:31:34 +00:00
2019-03-07 21:45:53 +01:00
2019-03-12 14:33:05 +11:00
2019-03-12 15:25:46 +00:00
2019-03-07 21:45:53 +01:00
2019-03-07 21:45:53 +01:00
2019-03-12 14:33:05 +11:00
2019-03-12 12:29:53 +00:00
2019-03-07 21:45:53 +01:00
2019-03-07 21:45:53 +01:00
2019-03-08 16:31:34 +00:00
2019-03-12 13:37:29 +00:00