1 # FRV testcase for dcf @(GRi,GRj)
4 .include "testutils.inc"
10 and_spr_immed 0x7fffffff,hsr0 ; data cache only: copy-back mode
18 ok1: test_gr_immed 1,gr11
20 set_mem_immed 0x9600b00d,gr10 ; change to add gr11,gr13,gr11 in cache
23 ok2: test_gr_immed 2,gr11 ; still only added 1
25 set_gr_addr doit1,gr10
26 set_mem_immed 0x9600b00d,gr10 ; change to add gr11,gr13,gr11 in cache
27 dcf @(gr10,gr0) ; flush data cache
30 ok3: test_gr_immed 4,gr11 ; added 2 this time
34 doit: add gr11,gr12,gr11
37 doit1: add gr11,gr12,gr11