Acceptance tests: show test report on GitLab CI
[qemu/ar7.git] / tests / tcg / xtensa / test_fp_cpenable.S
blob882bb2f3ceb1d2d5204b9af0774630dfd60d4d8c
1 #include "macros.inc"
3 test_suite fp_cpenable
5 #if XCHAL_HAVE_FP
7 test rur
8     set_vector kernel, 2f
9     movi    a2, 0
10     wsr     a2, cpenable
11     isync
13     rur     a2, fsr
14     //wfr     f0, a2
15     test_fail
17     movi    a2, 1b
18     rsr     a3, epc1
19     assert  eq, a2, a3
20     movi    a2, 32
21     rsr     a3, exccause
22     assert  eq, a2, a3
23 test_end
25 #endif
27 test_suite_end