Commit 346733d8 authored by Thiago Macieira's avatar Thiago Macieira Committed by hjk
Browse files

Split __m128d (double) from __m128 (float) SSE types



This also removes the display type selection, which didn't work
anyway. __m128 were only displayed as floats.

Change-Id: I2e3df0cd87a21abb0e3d844384e18cb9e5e6a021
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent b076618a
......@@ -35,19 +35,18 @@ from dumper import *
#
#######################################################################
def qform____m128():
return "As Floats,As Doubles"
def qdump____m128(d, value):
d.putEmptyValue()
d.putNumChild(1)
if d.isExpanded():
format = d.currentItemFormat()
if format == 2: # As Double
d.putArrayData(d.lookupType("double"), value.address, 2)
else: # Default, As float
d.putArrayData(d.lookupType("float"), value.address, 4)
def qdump____m128d(d, value):
d.putEmptyValue()
d.putNumChild(1)
if d.isExpanded():
d.putArrayData(d.lookupType("double"), value.address, 2)
def qdump____m128i(d, value):
data = d.readMemory(value.address, 16)
d.putValue(':'.join("%04x" % int(data[i:i+4], 16) for i in xrange(0, 32, 4)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment