<?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>277089</bug_id>
          
          <creation_ts>2024-07-25 12:25:02 -0700</creation_ts>
          <short_desc>[WASM] Prefixed opcodes should be printed in full in code origins and disassembly</short_desc>
          <delta_ts>2024-07-26 14:36:24 -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>WebAssembly</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Degazio">d_degazio</reporter>
          <assigned_to name="David Degazio">d_degazio</assigned_to>
          <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2048374</commentid>
    <comment_count>0</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-07-25 12:25:02 -0700</bug_when>
    <thetext>Our WASM disassembly and code origins assume that each WASM instruction is identifiable by a single OpType. This hasn&apos;t been true for a while, and what this means is whenever we dump the origin for a SIMD or GC or Ext1 opcode, we just dump something like &quot;ExtGC&quot; instead of something more specific. We should pass this information along when it&apos;s easily possible to aid in debugging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048375</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-07-25 12:25:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/132508220&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048382</commentid>
    <comment_count>2</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-07-25 12:56:15 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/31239</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048409</commentid>
    <comment_count>3</comment_count>
    <who name="David Degazio">d_degazio</who>
    <bug_when>2024-07-25 14:14:39 -0700</bug_when>
    <thetext>Example --dumpBBQDisassembly=1 output before:
    [     0x1] ExtSIMD
    [    0x13] ExtSIMD
    [    0x25] ExtSIMD
    [    0x28] ExtSIMD
    [    0x2b] End

...and after:
    [     0x1] V128Const
    [    0x13] V128Const
    [    0x25] F32x4Pmin
    [    0x28] F32x4ExtractLane
    [    0x2b] End</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2048715</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-26 14:36:23 -0700</bug_when>
    <thetext>Committed 281418@main (d898a3cffd9c): &lt;https://commits.webkit.org/281418@main&gt;

Reviewed commits have been landed. Closing PR #31239 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>