Ignore:
Timestamp:
Mar 12, 2013, 8:28:10 AM (12 years ago)
Author:
[email protected]
Message:

https://bugs.webkit.org/show_bug.cgi?id=112141
LLInt CLoop backend misses Double2Ints() on 32bit architectures

Reviewed by Filip Pizlo.

Implement Double2Ints() in CLoop backend of LLInt on 32bit architectures.

  • llint/LowLevelInterpreter.cpp:

(LLInt):
(JSC::LLInt::Double2Ints):

  • offlineasm/cloop.rb:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/cloop.rb

    r143232 r145551  
    10261026        # Encode a 64-bit double into 2 32-bit ints (low and high).
    10271027        when "fd2ii"
    1028             $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue}, #{operands[2].clValue});"
     1028            $asm.putc "Double2Ints(#{operands[0].clValue(:double)}, #{operands[1].clValue(:uint32)}, #{operands[2].clValue(:uint32)});"
    10291029
    10301030        # 64-bit instruction: fq2d int64Op dblOp (based on X64)
Note: See TracChangeset for help on using the changeset viewer.