eal/ppc: cpu flag checks for IBM Power
authorChao Zhu <chaozhu@linux.vnet.ibm.com>
Tue, 25 Nov 2014 22:17:11 +0000 (17:17 -0500)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 26 Nov 2014 20:50:10 +0000 (21:50 +0100)
commit9ae155385686239daff9a995d7a4875783faaba1
tree2fd6e2945164b7e474ffb0e842db1f28c31e8bd7
parent7302a1724b4922bfa4e5a89729f035ed76766c6d
eal/ppc: cpu flag checks for IBM Power

IBM Power processor doesn't have CPU flag hardware registers. This patch
uses aux vector software register to get CPU flags and add CPU flag
checking support for IBM Power architecture.

Signed-off-by: Chao Zhu <chaozhu@linux.vnet.ibm.com>
Acked-by: David Marchand <david.marchand@6wind.com>
app/test/test_cpuflags.c
lib/librte_eal/common/include/arch/ppc_64/rte_cpuflags.h [new file with mode: 0644]
mk/rte.cpuflags.mk