<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in constants.rs</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>0e9121da - Fix some typos (#8641)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs#0e9121da</link>
        <description>Fix some typos (#8641)* occurred* winch typos* tests typos* cli typos* fuzz typos* examples typos* docs typos* crates/wasmtime typos* crates/environ typos* crates/cranelift typos* crates/test-programs typos* crates/c-api typos* crates/cache typos* crates other typos* cranelift/codegen/src/isa typos* cranelift/codegen/src other typos* cranelift/codegen other typos* cranelift other typos* ci js typo* .github workflows typo* RELEASES typo* Fix clang-format documentation line---------Co-authored-by: Andrew Brown &lt;andrew.brown@intel.com&gt;

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs</description>
        <pubDate>Thu, 16 May 2024 23:21:22 +0000</pubDate>
        <dc:creator>FrankReh &lt;FrankReh@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>9c43749d - [RFC] Dynamic Vector Support (#4200)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs#9c43749d</link>
        <description>[RFC] Dynamic Vector Support (#4200)Introduce a new concept in the IR that allows a producer to createdynamic vector types. An IR function can now contain global value(s)that represent a dynamic scaling factor, for a given fixed-widthvector type. A dynamic type is then created by &apos;multiplying&apos; thecorresponding global value with a fixed-width type. These new typescan be used just like the existing types and the type system has aset of hard-coded dynamic types, such as I32X4XN, which the userdefined types map onto. The dynamic types are also used explicitlyto create dynamic stack slots, which have no set size like theirexisting counterparts. New IR instructions are added to access thesenew stack entities.Currently, during codegen, the dynamic scaling factor has to belowered to a constant so the dynamic slots do eventually have acompile-time known size, as do spill slots.The current lowering for aarch64 just targets Neon, using a dynamicscale of 1.Copyright (c) 2022, Arm Limited.

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs</description>
        <pubDate>Thu, 07 Jul 2022 19:54:39 +0000</pubDate>
        <dc:creator>Sam Parker &lt;sam.parker@arm.com&gt;</dc:creator>
    </item>
<item>
        <title>00f357c0 - Cranelift: support 14-bit Type index with some bitpacking. (#4269)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs#00f357c0</link>
        <description>Cranelift: support 14-bit Type index with some bitpacking. (#4269)* Cranelift: make `ir::Type` a `u16`.* Cranelift: pack ValueData back into 64 bits.After extending `Type` to a `u16`, `ValueData` became 12 bytes ratherthan 8. This packs it back down to 8 bytes (64 bits) by stealing twobits from the `Type` for the enum discriminant (leaving 14 bits for thetype itself).Performance comparison (3-way between original (`ty-u8`), 16-bit `Type`(`ty-u16`), and this PR (`ty-packed`)):```~/work/sightglass% target/release/sightglass-cli benchmark \    -e ~/ty-u8.so -e ~/ty-u16.so -e ~/ty-packed.so \    --iterations-per-process 10 --processes 2 \    benchmarks-next/spidermonkey/benchmark.wasmcompilation  benchmarks-next/spidermonkey/benchmark.wasm    cycles      [20654406874 21749213920.50 22958520306] /home/cfallin/ty-packed.so      [22227738316 22584704883.90 22916433748] /home/cfallin/ty-u16.so      [20659150490 21598675968.60 22588108428] /home/cfallin/ty-u8.so    nanoseconds      [5435333269 5723139427.25 6041072883] /home/cfallin/ty-packed.so      [5848788229 5942729637.85 6030030341] /home/cfallin/ty-u16.so      [5436002390 5683248226.10 5943626225] /home/cfallin/ty-u8.so```So, when compiling SpiderMonkey.wasm, making `Type` 16 bits regressesperformance by 4.5% (5.683s -&gt; 5.723s), while this PR gets 14 bits for a 1.0%cost (5.683s -&gt; 5.723s). That&apos;s still not great, and we can likely do better,but it&apos;s a start.* Fix test failure: entities to/from u32 via `{from,to}_bits`, not `{from,to}_u32`.

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs</description>
        <pubDate>Tue, 05 Jul 2022 21:51:02 +0000</pubDate>
        <dc:creator>Chris Fallin &lt;chris@cfallin.org&gt;</dc:creator>
    </item>
<item>
        <title>4c75616a - Remove unused constants from cranelift-codegen-shared (#3479)</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs#4c75616a</link>
        <description>Remove unused constants from cranelift-codegen-shared (#3479)

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs</description>
        <pubDate>Thu, 18 Nov 2021 17:51:35 +0000</pubDate>
        <dc:creator>bjorn3 &lt;bjorn3@users.noreply.github.com&gt;</dc:creator>
    </item>
<item>
        <title>f6688695 - Share constants between codegen and the meta crate;</title>
        <link>http://172.16.0.5:8080/history/wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs#f6688695</link>
        <description>Share constants between codegen and the meta crate;

            List of files:
            /wasmtime-44.0.1/cranelift/codegen/shared/src/constants.rs</description>
        <pubDate>Wed, 09 Oct 2019 15:38:29 +0000</pubDate>
        <dc:creator>Benjamin Bouvier &lt;public@benj.me&gt;</dc:creator>
    </item>
</channel>
</rss>
