arch: change panic for Vector traceData to warn_once
authorBjoern A. Zeeb <baz21@cam.ac.uk>
Sun, 10 Sep 2017 14:45:16 +0000 (14:45 +0000)
committerB.A. Zeeb <baz21@cam.ac.uk>
Wed, 27 Sep 2017 22:13:09 +0000 (22:13 +0000)
Make the traceData panic for Vectors a warn_once.  It's a pity it's
not implemented but it's not a reason to abort the simulation entirely.

Change-Id: I5e97258fd4e3fa385cfe0c4b400524d1f7b154df
Reviewed-on: https://gem5-review.googlesource.com/4860
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/arch/isa_parser.py

index ac639b41309a3cf4358ae7c83e9628e4f318aff5..4c3902fc92dbca893a573612a1903edc9f74d86f 100755 (executable)
@@ -802,7 +802,7 @@ class VecRegOperand(Operand):
 
         wb = '''
         if (traceData) {
-            panic("Vectors not supported yet in tracedata");
+            warn_once("Vectors not supported yet in tracedata");
             /*traceData->setData(final_val);*/
         }
         '''