emulators/open-simh: update to 2026-07-15.
Changes (most recent first):
* S3: Fix zoned decimal negative number representation
* PDP18B: Add delay to Type 647 line printer.
* SCP: Fix sim_printf_fmts.h for Visual Studio 2013 and older
* SIM_ETHER: restore ability to compile on Visual Studio 2013 and below
* CMake: Support RelWithDebInfo configuration
* GIT: Ignore CMakeUserPresets.json
* GIT: native line endings for .gitattributes, .gitignore
* GIT: .gitattributes, .gitignore and *.cmake are text files
* CMAKE: Conditionally add value of CPACK_BUILD_CONFIG to package name
* MAKEFILE: Move PCRE2 library path search earlier
* Makfile: PCRE2 default
* SCP: PCRE2 support.
* FreeBSD: link against libpcap
* PDP11: Changes for Terak 8510/a simulator:
* SCP: Add a -F option to SET <dev> DISABLE command to force detach and cancel
[27 lines not shown]
[lldb] Fix GetFrameWithConcreteFrameIndex with inlined frames (#247252)
Relands 17b5443a3211 (#240963), reverted in 1ba52f0e05e2 (#247232), with #247106's `@skipIfWasm` folded in.
Right now, changing a frame's PC (`RegisterContext::SetPC`) updates the wrong `StackFrame` if there are inlined or tail-call frames below it.
`StackFrameList::GetFrameWithConcreteFrameIndex(unwind_idx)` starts at `frame_idx = unwind_idx` and checks `GetFrameIndex() == unwind_idx`, so the loop always exits on the first iteration. Looking at 5ccbd294b25d, the original comment describes walking past inlined frames to match the concrete/unwind index, so checking `GetFrameIndex()` looks like unintentional behavior.
This fixes the comparison to use `GetConcreteFrameIndex`, skips artificial tail-call frames (while still matching synthetic scripted frames), and searches the unwinder's frame list in `Thread::GetFrameWithConcreteFrameIndex` so active scripted frame providers aren't walked.
[AMDGPU] Fix gfx950/gfx942 v_pk f32 instr co-exec slot (#245680)
On gfx950/gfx942, v_pk f32 instrs can issue only after the MFMA's own
cycles (in hardware cycles):
XDL/SMFMAC: 8 cycles
XDL2x/SMFMAC2x: 12 cycles
SGEMM/DGEMM: 8 cycles
Currently they are categorized as VALU. This is wrong for
XDL/SMFMAC/XDL2x/SMFMAC2x, since VALU can issue within the MFMA's own
cycles.
Fix this by adding a PK_F32 CoExecMask bit, a PK_F32 slot in each MFMA
row, and a PackedF32VALU InstructionFlavor. Classify the following
instrs as PackedF32VALU on subtargets with packed FP32 ops (gfx90a,
gfx942, gfx950):
V_PK_{ADD,FMA,MUL}_F32, V_PK_MOV_B32.
[2 lines not shown]
[flang-rt] Speed up B/O/Z input and repeated format edits - NFCI (#244757)
Formatted input of many small hexadecimal fields, such as
read (unit, '(64(z2.2))') image ! integer :: image(128,128)
was about 2.5x slower than before the patch. Nearly all of the time is
spent in the runtime, in two places.
1) EditBOZInput read each field twice: a first pass to count the
significant digits, then a rewind and a second pass to decode them.
Both passes went through the slow per-character path, so each
character required several std::variant dispatches
(GetNextInputBytes, GetConnectionState, HandleRelativePosition).
2) FormatControl::GetNextDataEdit re-parsed the data edit descriptor
(letter, width, digits, exponent digits) for every item. In a
repeated group like 64(Z2.2), control returns to the same descriptor
for every element.
[18 lines not shown]
[libc] Keep AArch64 jmp_buf layout independent of __ARM_FP (#247858)
On AArch64, `__jmp_buf.h` placed `long fopaque[8]` under `#if __ARM_FP`.
In builds where `__ARM_FP` is defined, `setjmp` and `longjmp` save and
restore `d8` through `d15`. A translation unit compiled with
`-mgeneral-regs-only` does not define `__ARM_FP`, so it got a smaller
`__jmp_buf` with different `sigjmp_buf` field offsets.
Define `fopaque` unconditionally under `__aarch64__` so all translation
units share the same `jmp_buf` and `sigjmp_buf` layout. Add an include
layout test that compares a default translation unit with an AArch64
`-mgeneral-regs-only` helper.
Assisted-By: Gemini
net80211: add net80211_avgrssi_t ; clean up RSSI_LPF init and usage
* add net80211_avgrssi_t
* convert the users over to it
* cap the incoming RSSI at 127 so subsequent changes to the
net80211_rssi_t type (ie to make it int16_t) doesn't feed the math
an overly large value
* add IEEE80211_RSSI_LPF_INIT() to initialise the LPF state
Notes:
* The mimo avgrssi extensions in ieee80211_node don't initialise the
state and thus I need to go do that in a subsequent change.
* node_getrssi() caps node RSSI between 0 and 127 as a hard-coded
range. I likely need to refactor that a bit.
Differential Revision: https://reviews.freebsd.org/D62205
net80211: explicitly initialise the mimo ctl/ext rssi fields
These aren't raw rssi; they're net80211_avgrssi_t fields and as
such should have been explicitly initialised.
Differential Revision: https://reviews.freebsd.org/D62210
net80211: explicitly initialise the mimo ctl/ext rssi fields
These aren't raw rssi; they're net80211_avgrssi_t fields and as
such should have been explicitly initialised.
Differential Revision: https://reviews.freebsd.org/D62210
net80211: add net80211_avgrssi_t ; clean up RSSI_LPF init and usage
* add net80211_avgrssi_t
* convert the users over to it
* cap the incoming RSSI at 127 so subsequent changes to the
net80211_rssi_t type (ie to make it int16_t) doesn't feed the math
an overly large value
* add IEEE80211_RSSI_LPF_INIT() to initialise the LPF state
Notes:
* The mimo avgrssi extensions in ieee80211_node don't initialise the
state and thus I need to go do that in a subsequent change.
* node_getrssi() caps node RSSI between 0 and 127 as a hard-coded
range. I likely need to refactor that a bit.
Differential Revision: https://reviews.freebsd.org/D62205
net80211: introduce ioctl nf/rssi conversion methods
Convert the internal nf/rssi into the public version.
The public versions are still int8_t's and thus once the net80211
types are expanded to int16_t the values passed out via the current
ioctl API will need clamping at -127 / +127 to maintain the current
ABI.
Differential Revision: https://reviews.freebsd.org/D62175
net80211: convert node mimo rssi / nf to net80211 types
Convert the node private mimo rssi and noise floor to net80211 types.
Differential Revision: https://reviews.freebsd.org/D62176
net80211: define mimo sta info ioctl ABI; convert driver -> ioctl side
* define a new ieee80211 MIMO struct to go with the sta info.
this is stable and separate from the net80211 internal struct.
* copy data from the net80211 internal mimo representation into the
ioctl ABI side.
Differential Revision: https://reviews.freebsd.org/D62177
net80211: introduce ioctl nf/rssi conversion methods
Convert the internal nf/rssi into the public version.
The public versions are still int8_t's and thus once the net80211
types are expanded to int16_t the values passed out via the current
ioctl API will need clamping at -127 / +127 to maintain the current
ABI.
Differential Revision: https://reviews.freebsd.org/D62175