Commit 634ee6eb authored by xan@webkit.org's avatar xan@webkit.org
Browse files

2011-02-15 Xan Lopez <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        Remove some dead code in ARMv7
        https://bugs.webkit.org/show_bug.cgi?id=54461

        * assembler/ARMv7Assembler.h: remove dead code.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9ed285ce
2011-02-15 Xan Lopez <xlopez@igalia.com>
Reviewed by Martin Robinson.
Remove some dead code in ARMv7
https://bugs.webkit.org/show_bug.cgi?id=54461
* assembler/ARMv7Assembler.h: remove dead code.
2011-02-14 Geoffrey Garen <ggaren@apple.com>
 
Rubber-stamped by Gavin Barraclough.
......
......@@ -369,40 +369,6 @@ private:
ThumbImmediateValue m_value;
};
class VFPImmediate {
public:
VFPImmediate(double d)
: m_value(-1)
{
union {
uint64_t i;
double d;
} u;
u.d = d;
int sign = static_cast<int>(u.i >> 63);
int exponent = static_cast<int>(u.i >> 52) & 0x7ff;
uint64_t mantissa = u.i & 0x000fffffffffffffull;
if ((exponent >= 0x3fc) && (exponent <= 0x403) && !(mantissa & 0x0000ffffffffffffull))
m_value = (sign << 7) | ((exponent & 7) << 4) | (int)(mantissa >> 48);
}
bool isValid()
{
return m_value != -1;
}
uint8_t value()
{
return (uint8_t)m_value;
}
private:
int m_value;
};
typedef enum {
SRType_LSL,
SRType_LSR,
......@@ -412,7 +378,6 @@ typedef enum {
SRType_RRX = SRType_ROR
} ARMShiftType;
class ARMv7Assembler;
class ShiftTypeAndAmount {
friend class ARMv7Assembler;
......
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