arm: Fix DPRINTFs with arguments in the instruction declarations

Change-Id: I0e373536897aa5bb4501b00945c2a0836100ddf4
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
This commit is contained in:
Nikos Nikoleris 2017-02-21 14:14:44 +00:00
parent 2213fba5c5
commit 3c005c0f0e

View file

@ -50,7 +50,7 @@ let {{
_in = bits(resTemp, intWidth - 1); _in = bits(resTemp, intWidth - 1);
_iz = ((resTemp & mask(intWidth)) == 0); _iz = ((resTemp & mask(intWidth)) == 0);
CondCodesNZ = (_in << 1) | _iz; CondCodesNZ = (_in << 1) | _iz;
DPRINTF(Arm, "(in, iz) = (%%d, %%d)\\n", _in, _iz); DPRINTF(Arm, "(in, iz) = (%d, %d)\\n", _in, _iz);
''' '''
if overflow and overflow != "none": if overflow and overflow != "none":
code += ''' code += '''