Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: tests/spec2k/175.vpr/run.ref.sh

Issue 2417803003: Revert use of hexfloat for wasm in spec2k tests. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/spec2k/175.vpr/diff.README ('k') | tests/spec2k/175.vpr/run.test.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 set -o nounset 6 set -o nounset
7 set -o errexit 7 set -o errexit
8 8
9 PREFIX=${PREFIX:-} 9 PREFIX=${PREFIX:-}
10 VERIFY=${VERIFY:-yes} 10 VERIFY=${VERIFY:-yes}
11 EMU_HACK=${EMU_HACK:-yes} 11 EMU_HACK=${EMU_HACK:-yes}
12 12
13 python ../prepare_input.py --config $(basename $(pwd)) ref 13 python ../prepare_input.py --config $(basename $(pwd)) ref
14 14
15 if [[ "${EMU_HACK}" != "no" ]] ; then 15 if [[ "${EMU_HACK}" != "no" ]] ; then
16 touch costs.out place.out route.out 16 touch costs.out place.out route.out
17 fi 17 fi
18 18
19 ARGS1="-nodisp -place_only -init_t 5 -exit_t 0x1.47ae147ae147bp-8 -alpha_t \ 19 ARGS1="-nodisp -place_only -init_t 5 -exit_t 0.005 -alpha_t 0.9412 -inner_num 2"
20 0x1.e1e4f765fd8aep-1 -inner_num 2" 20 ARGS2="-nodisp -route_only -route_chan_width 15 -pres_fac_mult 2 -acc_fac 1 -fir st_iter_pres_fac 4 -initial_pres_fac 8"
21 ARGS2="-nodisp -route_only -route_chan_width 15 -pres_fac_mult 2 -acc_fac 1 \
22 -first_iter_pres_fac 4 -initial_pres_fac 8"
23 21
24 22
25 ${PREFIX} $1 ${DASHDASH} net.in arch.in place.out dum.out ${ARGS1} \ 23 ${PREFIX} $1 ${DASHDASH} net.in arch.in place.out dum.out ${ARGS1} \
26 >place_log.out 2>stderr1.out 24 >place_log.out 2>stderr1.out
27 25
28 ${PREFIX} $1 ${DASHDASH} net.in arch.in place.in route.out ${ARGS2} \ 26 ${PREFIX} $1 ${DASHDASH} net.in arch.in place.in route.out ${ARGS2} \
29 >route_log.out 2>stderr2.out 27 >route_log.out 2>stderr2.out
30 28
31 LIST="place_log.out route_log.out costs.out route.out" 29 LIST="place_log.out route_log.out costs.out route.out"
32 30
33 if [[ "${VERIFY}" != "no" ]] ; then 31 if [[ "${VERIFY}" != "no" ]] ; then
34 echo "VERIFY" 32 echo "VERIFY"
35 for i in ${LIST} ; do 33 for i in ${LIST} ; do
36 # NOTE: we are a little more conservative than spec with regard to reltol. 34 # NOTE: we are a little more conservative than spec with regard to reltol.
37 # (the normal harness uses weaker reltols for some files). 35 # (the normal harness uses weaker reltols for some files).
38 ../specdiff.sh -r 0.015 -l 10 $i data/ref/output/$i 36 ../specdiff.sh -r 0.015 -l 10 $i data/ref/output/$i
39 done 37 done
40 fi 38 fi
41 echo "OK" 39 echo "OK"
OLDNEW
« no previous file with comments | « tests/spec2k/175.vpr/diff.README ('k') | tests/spec2k/175.vpr/run.test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698