From 7e904c4d744a968a71b7480c00b37c3554103b30 Mon Sep 17 00:00:00 2001 From: hjk Date: Mon, 14 Nov 2016 12:29:26 +0100 Subject: [PATCH] Debugger: Use explicit sizes in SSE dumpers We know them, no need to guess. Change-Id: I9788cfe178e4b013276f77df9aef5f4254818007 Reviewed-by: Christian Stenger --- share/qtcreator/debugger/misctypes.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/qtcreator/debugger/misctypes.py b/share/qtcreator/debugger/misctypes.py index a07708034a8..fa7625717f7 100644 --- a/share/qtcreator/debugger/misctypes.py +++ b/share/qtcreator/debugger/misctypes.py @@ -62,7 +62,7 @@ def qdump____m512d(d, value): d.putArrayData(value.address(), 8, d.lookupType('double')) def qdump____m128i(d, value): - data = d.hexencode(value.data()) + data = d.hexencode(value.data(16)) d.putValue(':'.join('%04x' % int(data[i:i+4], 16) for i in xrange(0, 32, 4))) if d.isExpanded(): with Children(d): @@ -73,7 +73,7 @@ def qdump____m128i(d, value): d.putArrayItem('uint64x2', addr, 2, 'unsigned long long') def qdump____m256i(d, value): - data = d.hexencode(value.data()) + data = d.hexencode(value.data(32)) d.putValue(':'.join('%04x' % int(data[i:i+4], 16) for i in xrange(0, 64, 4))) if d.isExpanded(): with Children(d): @@ -84,7 +84,7 @@ def qdump____m256i(d, value): d.putArrayItem('uint64x4', addr, 4, 'unsigned long long') def qdump____m512i(d, value): - data = d.hexencode(value.data()) + data = d.hexencode(value.data(64)) d.putValue(':'.join('%04x' % int(data[i:i+4], 16) for i in xrange(0, 64, 4)) + ', ' + ':'.join('%04x' % int(data[i:i+4], 16) for i in xrange(64, 128, 4))) if d.isExpanded():