repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drd: Add a consistency check
[valgrind.git]
/
tests
/
check_dfp_cap
blob
d9bc273f907cc90c1601a30a49d8418c5cc1e564
1
#!/bin/sh
2
3
# We use this script to check whether or not the processor supports Decimal Floating Point (DFP).
4
5
LD_SHOW_AUXV
=
1
/
bin
/
true |
grep
dfp
> /
dev
/
null
2
>&
1
6
if
[
"$?"
-ne
"0"
];
then
7
exit
1
8
else
9
exit
0
10
fi