diff options
author | hjk <hjk@qt.io> | 2016-11-14 12:29:26 +0100 |
---|---|---|
committer | hjk <hjk@qt.io> | 2016-11-15 08:25:48 +0000 |
commit | 7e904c4d744a968a71b7480c00b37c3554103b30 (patch) | |
tree | a817f158c61a19a22c96f22dff2030f75511b107 | |
parent | 56e684fc37c77c7a161f5bcc3eed3cbd0a23bd2b (diff) |
Debugger: Use explicit sizes in SSE dumpers
We know them, no need to guess.
Change-Id: I9788cfe178e4b013276f77df9aef5f4254818007
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
-rw-r--r-- | share/qtcreator/debugger/misctypes.py | 6 |
1 files 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(): |