misc: Update release notes
[gem5.git] / RELEASE-NOTES.md
1 # Version 20.0.0.0
2
3 Welcome to our first "official" gem5 release!
4 gem5 v19.0.0.0 was a "test" release, but this one has release notes, so it must be official!
5
6 Thank you to everyone that made this release possible!
7 This has been a very productive release with over [70 issues closed](https://gem5.atlassian.net/), over 500 commits, and 31 unique contributors.
8 Below are some of the highlights, though I'm sure I've missed some important changes.
9
10 ## New features
11
12 * [gem5-resources repository](https://gem5.googlesource.com/public/gem5-resources/)
13 * This new repository will store all of the *sources* (e.g., code) used to create testing and research resources. This includes disk images, testing binaries, kernel binaries, etc.
14 * Binaries created with the sources are hosted on dist.gem5.org.
15 * Details on the new page for resources: <http://www.gem5.org/documentation/general_docs/gem5_resources>.
16 * Memory SimObjects can now be initialized using an image file using the image_file parameter.
17 * **[USER-FACING CHANGE]** The m5 utility has been revamped with a new build system based on scons, tests, and updated and more consistent feature support.
18 * To build, now use `scons build/<arch>/out/m5`, not `make`.
19 * [Documentation](http://www.gem5.org/documentation/general_docs/m5ops/) coming soon.
20 * Robust support for marshalling data from a function call inside the simulation to a function within gem5 using a predefined set of rules.
21 * Developers can specify an ABI for guest<->simulator calls and then "just call functions".
22 * Unifies pseudo-inst, syscall, and other support.
23 * Code within gem5 has been updated. However, users which added new pseudo-ops may have to update their code.
24 * **[PYTHON API CHANGE]** Workload configuration pulled out into its own object, simplifying the System object and making workload configuration more modular and flexible.
25 * All full system config/run scripts must be updated (e.g., anything that used the `LinuxX86System` or similar SimObject).
26 * Many of the parameters of `System` are now parameters of the `Workload` (see `src/sim/Workload.py`).
27 * For instance, many parameters of `LinuxX86System` are now part of `X86FsLinux` which is now the `workload` parameter of the `System` SimObject.
28 * See https://gem5-review.googlesource.com/c/public/gem5/+/24283/ and https://gem5-review.googlesource.com/c/public/gem5/+/26466 for more details.
29 * Sv39 paging has been added to the RISC-V ISA, bringing gem5 close to running Linux on RISC-V.
30 * (Some) Baremetal OSes are now supported.
31 * Improvements to DRAM model:
32 * Added support for verifying available command bandwidth.
33 * Added support for multi-cycle commands.
34 * Added new timing parameters.
35 * Added ability to interleave bursts.
36 * Added LPDDR5 configurations.
37 * **[Developer change]** We are beginning to document gem5 APIs.
38 * Currently, only SimObjects and the APIs they depend on have been documented.
39 * We are using doxygen to mark "stable APIs" and will use manual code review to make sure the APIs stay stable.
40 * More information will be coming during gem5-20.1 development.
41
42 ## Removed features
43
44 * Support for the ALPHA ISA has been dropped.
45 * All ALPHA ISA code has been removed
46 * Old "rcS" scripts for ALPHA have been removed
47
48 ## New supported platforms
49
50 * Compiling and running gem5 with Python 3 is now fully supported.
51 * Lots of code changes required for this.
52 * There may still be some python code that's not up to date. Please open a [Jira ticket](https://gem5.atlassian.net/) if you find any code that doesn't work with python3.
53 * gem5 now supports Ubuntu 20.04.
54 * Compiling gem5 with GCC 8 and 9 is now supported.
55 * Compiling with clang up to version 9 is now supported.
56
57 ## Testing improvements
58
59 * Scons-based tests have been migrated to the testlib framework.
60 * Tests can now be run with `tests/main.py`, except for the unittests.
61 * Please consult TESTING.md for more information on how these may be run.
62 * We are continuing to work on CI tests. Most of the plumbing is there for Google Cloud Build integration. See [the Jira issue](https://gem5.atlassian.net/browse/GEM5-237) for details.
63
64 ## Other API changes
65
66 * **[API CHANGE]** Ruby's prefetcher renamed to RubyPrefetcher.
67 * Any SLICC protocols with prefetchers need to be updated.
68 * Some config scripts for Ruby protocols with prefetchers may need to be updated.
69 * **[API CHANGE]** SE mode improvements.
70 * Better support for the mmap and related syscalls.
71 * A new virtual memory area API for tracking SE mode allocations.
72 * When implementing syscalls, the way that guest memory is allocated changes. All code in gem5 is updated, but if there are any external syscalls, they may need be updated.
73 * **[COMMAND LINE CHANGE]** The `--disk-image` argument to `fs.py` is now optional.
74 * However, the disk image names *are no longer implied*.
75 * The script still implicitly searches `M5_PATH`, but the name of the disk image must be specified.
76 * **[API CHANGE]** SLICC `queueMemory` is now `enqueue`.
77 * All protocol configs must be updated with another message buffer in the memory controllers (directories).
78 * All protocol SLICC files must replace `queueMemoryRead` and `queueMemoryWrite` with `enqueue` to another "special" message buffer named `memQueue`.
79 * This allows finite buffering between the cache controllers and DRAMCtrl.
80 * **[API CHANGE]** Added Prefetcher namespace
81 * All prefetchers' names have changed from `*Prefetcher` to `Prefetcher::*`
82 * If you have any prefetchers that are not in the gem5 mainline, your code will likely need to be updated.
83
84 ## Other changes
85
86 * Implemented ARMv8.3-CompNum, SIMD complex number extension.
87 * Support for Arm Trusted Firmware + u-boot with the new VExpress_GEM5_Foundation platform
88 * Removed author list from source files.
89 * This was originally so future people would know who to contact.
90 * However, it was difficult to maintain and quickly out of date.
91 * Copyright is unchanged.
92 * Improvements to gem5's power model.
93 * MESI_Three_Level Ruby protocol bugfixes.
94 * Ruby functional reads now work in more cases.
95 * Indirect branch stats work correctly now.