Simplifications to ARM CPU detection
authorSøren Sandmann Pedersen <ssp@redhat.com>
Thu, 28 Jun 2012 02:05:18 +0000 (22:05 -0400)
committerSøren Sandmann Pedersen <ssp@redhat.com>
Sat, 7 Jul 2012 05:09:23 +0000 (01:09 -0400)
commit4b78d785373c1d02abe695267379674776b3da3d
tree29e5c8727f9d93b41d8ed8a3209d3e8672b65c23
parent8b795a9c17aa25328b9c76b949d319bb578d5f1e
Simplifications to ARM CPU detection

Organize pixman-arm.c such that each operating system/compiler exports
a detect_cpu_features() function that returns a bitmask with the
various features that we are interested in. A new function
have_feature() then calls this function, caches the result, and return
whether the given feature is available.

The result is that all the pixman_have_arm_<feature> functions become
redundant and can be deleted.
pixman/pixman-arm.c