[RISCV] Use NSRL/NSRA for legalizing i64 shifts with P extension on RV32. (#181040)
If the shift amount might be in the range [0, 31], we can use
NSRL/NSRA to shift the i64 value to compute the lower 32 bits of
the result.
If the shift amount is >= 32, the high half of the result is all
zeros or sign bits. Otherwise it is a srl/sra of the high bits.
I've handled the constant case in ReplaceNodeResults but deferred
the non-constant case to lowerShiftRightParts. This function is
not called for constants. This gives the opportunity for DAGCombine to
optimize the SRL_PARTS/SRA_PARTS if the shift amount can be proven
to be >= 32 or < 32.
Sequences were also discussed on the P extension mailing list here
https://lists.riscv.org/g/tech-p-ext/message/861
Assisted-by: claude
committers-ports: add andy
Following up ziaee's pattern, and add andy's line.
I'm not sure whether the original commit bit creation date should be used,
and use commit bit re-activation date for now.
MFC after: 1 week
committers-ports: add andy
Following up ziaee's pattern, and add andy's line.
I'm not sure whether the original commit bit creation date should be used,
and use commit bit re-activation date for now.
MFC after: 1 week
[PowerPC] Align bcdsetsign Sema validation with other BCD builtins (#178121)
`__builtin_ppc_bcdsetsign` currently uses standalone argument checks due
to the `"t"` option. This change brings it in line with the helper-based
validation used by other BCD builtins and adds Sema coverage.
py-Pillow: update to 12.1.1.
Security
CVE 2021-25289: Fix OOB write with invalid tile extents
Check that tile extents do not use negative x or y offsets when
decoding or encoding, and raise an error if they do, rather than
allowing an OOB write.
An out-of-bounds write may be triggered when opening a specially
crafted PSD image. This only affects Pillow >= 10.3.0. Reported by
Yarden Porat.
Other changes
Patch libavif for svt-av1 4.0 compatibility
A patch has been added to depends/install_libavif.sh, to allow
[2 lines not shown]
x11/hyprpicker: Update to 0.4.6
While here:
- remove custom do-install target, which is no longer necessary
- sort variables to make portclippy happy
https://github.com/hyprwm/hyprpicker/releases/tag/v0.4.6
Reported by: GitHub (watch releases)
x11/hyprpicker: Update to 0.4.6
While here:
- remove custom do-install target, which is no longer necessary
- sort variables to make portclippy happy
https://github.com/hyprwm/hyprpicker/releases/tag/v0.4.6
Reported by: GitHub (watch releases)
[ELF] Fix /DISCARD/ .eh_frame regression after #179089
When .eh_frame is discarded while .eh_frame_hdr is not, #179089 caused a
crash for `/DISCARD/ : { *(.eh_frame) }`.
Simplify the PT_GNU_EH_FRAME condition from https://reviews.llvm.org/D30885 (2017).
GStreamer1: Update to 1.28.0
The y4menc (previously from good) and y4mdec (previously from bad)
plugins have been consolidated into y4m (now from good).
The vaapi component (multimedia/gstreamer1-vaapi) is no longer supplied
by upstream and will be removed after 2026Q1. This has been superseded by
the va plugin from 'bad', which we don't have and is rather Linux-heavy,
but no ports seem to use this anyways. Remove from makesum-all target
and adjust to be static 1.26.10 (last available) version.
Add svtav1 component to gstreamer.mk after f96400339bd6. [1]
multimedia/gstreamer1-plugins-svt-hevc has been marked DEPRECATED since
multimedia/svt-hevc is marked DEPRECATED and will be removed after
2026Q1. [1] This port does not seem to be used anywhere in the ports
tree.
Note for local patching: meson_options.txt was renamed by upstream to
[9 lines not shown]
GStreamer1: Update to 1.28.0
The y4menc (previously from good) and y4mdec (previously from bad)
plugins have been consolidated into y4m (now from good).
The vaapi component (multimedia/gstreamer1-vaapi) is no longer supplied
by upstream and will be removed after 2026Q1. This has been superseded by
the va plugin from 'bad', which we don't have and is rather Linux-heavy,
but no ports seem to use this anyways. Remove from makesum-all target
and adjust to be static 1.26.10 (last available) version.
Add svtav1 component to gstreamer.mk after f96400339bd6. [1]
multimedia/gstreamer1-plugins-svt-hevc has been marked DEPRECATED since
multimedia/svt-hevc is marked DEPRECATED and will be removed after
2026Q1. [1] This port does not seem to be used anywhere in the ports
tree.
Note for local patching: meson_options.txt was renamed by upstream to
[9 lines not shown]
bhyve.8: Correct description for -c flag, tag spdx
The examples only show the usage of `-c <numcpus>`, as did the flag
description, however the -c flag supports more complex cpu topology
specifiers. These were documented correctly in SYNOPSIS, add them to
the body of the DESCRIPTION as well. Someone could go further and do
and example with using them.
MFC after: 3 days
Event: OpenZFS Developer Summit '25
Reported by: Levi Worley <levi at gainframe.com>
(cherry picked from commit 205af037e302fbd50dabc485a89e2222cd063b9e)
udl.4: Consolidate HARDWARE and add HISTORY
Some of the information needed for the HARDWARE section was the entire
DESCRIPTION section, so merge the two. While here, add the HISTORY of
this driver, add "driver" to the document description matching other
drivers, and tag the SPDX license identifier for mechanical parsing.
MFC after: 3 days
(cherry picked from commit 97fa62708f67ce189bde22c98d9102da026b448c)
cpuctl.4: Formatting nits
+ Align ioctl list + Pad code examples + Tag spdx license identifier
MFC after: 3 days
(cherry picked from commit c6bd2aa8353c6c34dbff487132a7f7372752d0ad)