1f08c3bdfSopenharmony_cicpio -idvB <livr.cpio 2f08c3bdfSopenharmony_ci 3f08c3bdfSopenharmony_cithere are 5 sets of datafiles [trigo, power, iperb, exp_log, bessel] 4f08c3bdfSopenharmony_ci 5f08c3bdfSopenharmony_cithere are 5 testcases [float_trigo, float_power, float_iperb, float_exp_log, 6f08c3bdfSopenharmony_cifloat_bessel] 7f08c3bdfSopenharmony_ci 8f08c3bdfSopenharmony_cihow to do it 9f08c3bdfSopenharmony_ci============ 10f08c3bdfSopenharmony_ci1) 11f08c3bdfSopenharmony_ci 12f08c3bdfSopenharmony_cifirst of all you have to generate datafiles, following is the trigo set of 13f08c3bdfSopenharmony_cidatafiles way of doing: 14f08c3bdfSopenharmony_ci/* there is a readme file within the directory if necessary */ 15f08c3bdfSopenharmony_ci 16f08c3bdfSopenharmony_ci$ cd trigo 17f08c3bdfSopenharmony_ci 18f08c3bdfSopenharmony_ci/* compile */ 19f08c3bdfSopenharmony_ci$ make all 20f08c3bdfSopenharmony_ci 21f08c3bdfSopenharmony_ci/* start the trigo datafiles generator */ 22f08c3bdfSopenharmony_ci$ gentrigo 23f08c3bdfSopenharmony_ci 24f08c3bdfSopenharmony_ci/* check that make install will install datafiles where they've to be placed */ 25f08c3bdfSopenharmony_ci/* check that repository is existing */ 26f08c3bdfSopenharmony_ci/* see Makefile file */ 27f08c3bdfSopenharmony_ci$ make install 28f08c3bdfSopenharmony_ci 29f08c3bdfSopenharmony_ci2) do the same with the others (iperb, exp_log, power & bessel) 30f08c3bdfSopenharmony_ci 31f08c3bdfSopenharmony_ci........................................................................... 32f08c3bdfSopenharmony_ci3) compiling & installing testcases 33f08c3bdfSopenharmony_ci 34f08c3bdfSopenharmony_ci$ cd .. 35f08c3bdfSopenharmony_ci$ make all 36f08c3bdfSopenharmony_ci$ make install 37f08c3bdfSopenharmony_ci.......................................................................... 38f08c3bdfSopenharmony_ci/* starting the testcase */ 39f08c3bdfSopenharmony_ci$ cd ../bin 40f08c3bdfSopenharmony_ci$ float_trigo 41f08c3bdfSopenharmony_ci$ float_power 42f08c3bdfSopenharmony_ci$ float_exp_log 43f08c3bdfSopenharmony_ci$ float_iperb 44f08c3bdfSopenharmony_ci$ float_bessel 45f08c3bdfSopenharmony_ci$ echo $? 46f08c3bdfSopenharmony_ci0 47f08c3bdfSopenharmony_ci$ 48f08c3bdfSopenharmony_ci 49f08c3bdfSopenharmony_ciNotes: 50f08c3bdfSopenharmony_ci------ 51f08c3bdfSopenharmony_ci1) 52f08c3bdfSopenharmony_ci/* datafiles are supposed to be placed to the same directory as executables */ 53f08c3bdfSopenharmony_ci/* this can be changed giving the absolute path of the directory to the 54f08c3bdfSopenharmony_ci testcase ex:$ float_trigo -D /home/linux/livr */ 55f08c3bdfSopenharmony_ci 56f08c3bdfSopenharmony_ci2) number of threads is initialized to 20 per function 57f08c3bdfSopenharmony_ci 58f08c3bdfSopenharmony_ci3) number of loops is initialized to 500 (ability to view cpus loading) 59f08c3bdfSopenharmony_ci 60f08c3bdfSopenharmony_ci4) these tests have been started on ia64 and ia32 architectures. 61f08c3bdfSopenharmony_ci 62f08c3bdfSopenharmony_ci 63f08c3bdfSopenharmony_ci 64