<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>112665</bug_id>
          
          <creation_ts>2013-03-18 23:45:57 -0700</creation_ts>
          <short_desc>Implement and32 on MIPS platform</short_desc>
          <delta_ts>2013-03-20 07:08:39 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>112599</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>fpizlo</cc>
    
    <cc>fu</cc>
    
    <cc>galpeter</cc>
    
    <cc>gergely</cc>
    
    <cc>kilvadyb</cc>
    
    <cc>oliver</cc>
    
    <cc>ossy</cc>
    
    <cc>rgabor</cc>
    
    <cc>webkit.review.bot</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>857981</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2013-03-18 23:45:57 -0700</bug_when>
    <thetext>+++ This bug was initially created as a clone of Bug #112663 +++

http://trac.webkit.org/changeset/146164 broke the MIPS
build because of missing add32 implementation:

/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp: In member function &apos;void JSC::DFG::SpeculativeJIT::compileAdd(JSC::DFG::Node*)&apos;:
/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/dfg/DFGSpeculativeJIT.cpp:3136: error: no matching function for call to &apos;JSC::DFG::JITCompiler::and32(JSC::AbstractMacroAssembler&lt;JSC::MIPSAssembler&gt;::Address, JSC::DFG::GPRReg&amp;)&apos;
/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:270: note: candidates are: void JSC::MacroAssemblerMIPS::and32(JSC::MIPSRegisters::RegisterID, JSC::MIPSRegisters::RegisterID)
/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:275: note:                 void JSC::MacroAssemblerMIPS::and32(JSC::MIPSRegisters::RegisterID, JSC::MIPSRegisters::RegisterID, JSC::MIPSRegisters::RegisterID)
/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:280: note:                 void JSC::MacroAssemblerMIPS::and32(JSC::AbstractMacroAssembler&lt;JSC::MIPSAssembler&gt;::TrustedImm32, JSC::MIPSRegisters::RegisterID)
/data/buildbot/mips-1/qt-linux-mipsel-mips32r2-release/build/Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:296: note:                 void JSC::MacroAssemblerMIPS::and32(JSC::AbstractMacroAssembler&lt;JSC::MIPSAssembler&gt;::TrustedImm32, JSC::MIPSRegisters::RegisterID, JSC::MIPSRegisters::RegisterID)
make[3]: *** [.obj/release-shared/dfg/DFGSpeculativeJIT.o] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>857991</commentid>
    <comment_count>1</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-19 00:01:32 -0700</bug_when>
    <thetext>Please rename the bug. The &apos;and32&apos; is missing not the &apos;add32&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>858044</commentid>
    <comment_count>2</comment_count>
      <attachid>193755</attachid>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-19 01:37:38 -0700</bug_when>
    <thetext>Created attachment 193755
speculative fix

A MIPS guru should check this patch just to be on safe side.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>858049</commentid>
    <comment_count>3</comment_count>
    <who name="Gergely Kis">gergely</who>
    <bug_when>2013-03-19 01:42:10 -0700</bug_when>
    <thetext>Thanks for the patch, Balázs will check it first thing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>858122</commentid>
    <comment_count>4</comment_count>
    <who name="Balazs Kilvady">kilvadyb</who>
    <bug_when>2013-03-19 03:43:43 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; Created an attachment (id=193755) [details]
&gt; speculative fix

The patch seems to be OK. But I must work on an other issue around operationToString (likely new bug report/patch) to be able to run all the tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859338</commentid>
    <comment_count>5</comment_count>
    <who name="Peter Gal">galpeter</who>
    <bug_when>2013-03-20 06:31:12 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #2)
&gt; &gt; Created an attachment (id=193755) [details] [details]
&gt; &gt; speculative fix
&gt; 
&gt; The patch seems to be OK. But I must work on an other issue around operationToString (likely new bug report/patch) to be able to run all the tests.

Ok, in the meantime I think we should commit this in, just to get the bot a little greener.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859365</commentid>
    <comment_count>6</comment_count>
    <who name="Balazs Kilvady">kilvadyb</who>
    <bug_when>2013-03-20 07:02:24 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #4)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; Created an attachment (id=193755) [details] [details] [details]
&gt; &gt; &gt; speculative fix
&gt; &gt; 
&gt; &gt; The patch seems to be OK. But I must work on an other issue around operationToString (likely new bug report/patch) to be able to run all the tests.
&gt; 
&gt; Ok, in the meantime I think we should commit this in, just to get the bot a little greener.

Agree.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859368</commentid>
    <comment_count>7</comment_count>
      <attachid>193755</attachid>
    <who name="Zoltan Herczeg">zherczeg</who>
    <bug_when>2013-03-20 07:04:16 -0700</bug_when>
    <thetext>Comment on attachment 193755
speculative fix

róme</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859370</commentid>
    <comment_count>8</comment_count>
      <attachid>193755</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-20 07:08:35 -0700</bug_when>
    <thetext>Comment on attachment 193755
speculative fix

Clearing flags on attachment: 193755

Committed r146339: &lt;http://trac.webkit.org/changeset/146339&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>859371</commentid>
    <comment_count>9</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-03-20 07:08:39 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>193755</attachid>
            <date>2013-03-19 01:37:38 -0700</date>
            <delta_ts>2013-03-20 07:08:35 -0700</delta_ts>
            <desc>speculative fix</desc>
            <filename>mips_and32.patch</filename>
            <type>text/plain</type>
            <size>1256</size>
            <attacher name="Peter Gal">galpeter</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IDhkMzNmZTguLmI4YTQ5YjYgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL0phdmFTY3JpcHRD
b3JlL0No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