[Webkit-unassigned] [Bug 98856] Add moveDoubleToInts and moveIntsToDouble to MacroAssemblerMIPS

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 10 01:34:41 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=98856





--- Comment #1 from Peter Gal <galpeter at inf.u-szeged.hu>  2012-10-10 01:35:19 PST ---
Well I'm not a MIPS expert, but I was thinking doing something like this:

moveIntsToDouble(src_t1, src_t2, dst_fp1):
  mtc1   src_t1, dst_fp1
  mthc1  src_t2, dst_fp1

moveDoubleToInts(src_fp1, dst_t1, dst_22):
  mfc1   dst_t1, src_fp1
  mfhc1  dst_t2, src_fp1



This should work (I think at least) if the fp registers are 64bit wide. Am I right?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list