From: Frank Ch. Eigler Date: Mon, 2 Mar 1998 23:57:35 +0000 (+0000) Subject: * Added more PKE unit tests. Coverage now at 90%. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48c7100eba5f923214c607e2e5413b6af823dd4a;p=binutils-gdb.git * Added more PKE unit tests. Coverage now at 90%. * t-pke3.trc: Added FLUSH* / PKEMS* tests. --- diff --git a/sim/testsuite/sky/ChangeLog b/sim/testsuite/sky/ChangeLog index d22bffda24c..4892baeb80b 100644 --- a/sim/testsuite/sky/ChangeLog +++ b/sim/testsuite/sky/ChangeLog @@ -1,3 +1,7 @@ +Mon Mar 2 18:54:26 1998 Frank Ch. Eigler + + * t-pke3.trc: Added FLUSH* / PKEMS* tests. + Fri Feb 27 16:53:29 1998 Frank Ch. Eigler * Makefile.in (*): Changes now allow test case srcdir != objdir. diff --git a/sim/testsuite/sky/t-pke3.trc b/sim/testsuite/sky/t-pke3.trc index 4dd37118895..ca906aa67f1 100644 --- a/sim/testsuite/sky/t-pke3.trc +++ b/sim/testsuite/sky/t-pke3.trc @@ -431,4 +431,45 @@ ! 0x10003d50 0x00000000 ! 0x10003d60 0x00000000 ! 0x10003d70 0x00000000 -# \ No newline at end of file +# +# +# ---- FLUSH/FLUSHE/FLUSHA & CALL/CALLF/CONT ---- +# +# Load a bunch of NOP[e]/NOP instructions into the VU +# 0x000002ff_8000033c == NOP NOP +# 0x400002ff_8000033c == NOP[e] NOP +# MPG 10 instructions +1 0x4a0a0000_00000000_00000000_00000000 0x00000000 PPPP +1 0x000002ff_8000033c_000002ff_8000033c 0x00000000 .... +1 0x000002ff_8000033c_000002ff_8000033c 0x00000000 .... +1 0x000002ff_8000033c_400002ff_8000033c 0x00000000 .... +1 0x400002ff_8000033c_000002ff_8000033c 0x00000000 .... +1 0x400002ff_8000033c_000002ff_8000033c 0x00000000 .... +# Start VU; FLUSH +1 0x10000000_14000000_00000000_00000000 0x00000000 PPPP +# Send a few more NOPs to let VU get to first END +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +# Assert VU is in idle state +? 0x110073d0 0x00000000 0x00000200 +# Resume/run/run/resume to check stall logic in PKEMSCNT/PKEMSCALF/PKEMSCAL +1 0x13000000_14000000_11000000_15000000 0x00000000 PPPP +1 0x00000000_15000000_14000000_17000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +1 0x00000000_00000000_00000000_00000000 0x00000000 PPPP +# Assert VU is in idle state +? 0x110073d0 0x00000000 0x00000200 +