Edmund Grimley Evans
Edmund Grimley Evans
The function is here: https://github.com/DynamoRIO/dynamorio/blob/95fd0237a5b9c9ca1add88574f9bddca002a82e9/core/unix/os.c#L2507-L2538 If you ask for `num_slots > 1` then the implementation wants every slot to be aligned, which fails if the `alignment` is greater than the...
Make some code conditional on EM_RISCV or PR_SVE_GET_VL being defined. This was needed on RHE7, which will be around for a few more years. We also check for another older...
Currently the AArch64 codec uses an immediate integer operand to indicate the size of the elements operated on by a v8.0 vector instruction, for example (see `dis-a64.txt`): ``` 0e228420 :...
It is currently (568aef530228d197ff2fed5f13409e1511addee3) impossible to encode `5e020400 mov h0, v0.h[0]` (which is an alias of DUP): you get `4e020400 dup v0.8h, v0.h[0]` instead. Demonstrate by adding this line to...
See #6420 and #431.
I spent a long time wondering why the following (trying to get a `UMOV , .[]`) didn't work: ``` instr_create_1dst_3src(drcontext, OP_umov, opnd_create_reg(wreg), opnd_create_reg(qreg), opnd_create_immed_int(0, OPSZ_1), opnd_create_immed_int(2, OPSZ_1)); ``` The helpful...
The tests in `ir_aarch64.c` that require extensions such as FP16 should presumably be moved to other files such as `ir_aarch64_v82.c`. This isn't just for tidyness: `code_api|api.ir` currently fails on hardware...
This line seems to make all variants of FCVTZU (vector, fixed-point) require FP16: https://github.com/DynamoRIO/dynamorio/blob/0192e25ec92c7540f4179727e23b3ebd72c0f4db/core/ir/aarch64/codec_v82.txt#L118 But in fact only the variants that match `0x1011110001xxxx111111xxxxxxxxxx` require FP16, as I understand it. The...
Test program Cargo.toml: ``` [package] name = "testtcp" version = "0.1.0" edition = "2021" [dependencies] [target.'cfg(target_os = "hermit")'.dependencies.hermit] path = "../rusty-hermit/hermit" ``` Test program src/main.rs: ``` #[cfg(target_os = "hermit")] use...
The current code seems to be more complex than necessary, for historical reasons, and appears to perform poorly, particularly in terms of latency. Issue #378 has helped a lot, but...