Jim Huang

Results 411 comments of Jim Huang

cppcheck is another tool to be investigated.

It would be a nice practice for wide character manipulation.

I am wondering if `SIGCONT` should be handled or not from the perspective of usability.

Check the following materials in advance: * [PicoRV32](https://github.com/YosysHQ/picorv32): `ENABLE_COUNTERS64` (default = 1) This parameter enables support for the RDCYCLEH, RDTIMEH, and RDINSTRETH instructions. If this parameter is set to 0,...

[fastrv32](https://github.com/jserv/wip-fastrv32) is another reference for implementing timer stuff.

Sample RISC-V assembly program using performance counter: ```assembly .section .text .global _get_cycles .type _get_cycles, @function _get_cycles: csrr a0, minstret csrr a1, minstreth ret ```

> Writing my first assembly code. Alternatively, you can check [riscv-csr-access](https://github.com/five-embeddev/riscv-csr-access) for inline assembly based routines.

The author of [rv8](https://github.com/michaeljclark/rv8) showed a neat technique to render histogram. See https://github.com/microsoft/mimalloc/pull/529

commit 7fb4ff754e48f09e21f0e21137fd28ce59361de5 integrates color into lowest bit of parent pointer.

> * Indirect pointers > Indirect pointers can be used to decrease the number of branches to increase better performance in pipelines. commit ff46dad7571d3d62852ca4b8722804c8324835bb and commit 09f4e653627ebb2bec188fff504e95b91a42fac9 lower the number...