diff options
author | Dimitar Dimitrov <dimitar@dinux.eu> | 2020-11-12 22:23:26 +0200 |
---|---|---|
committer | Dimitar Dimitrov <dimitar@dinux.eu> | 2020-11-12 22:41:10 +0200 |
commit | e57cf1f2cdf819946494becf282e47194aa6216d (patch) | |
tree | b30063156b4d1d911a625aaf4b53c8155ab25dbf /djunpack.bat | |
parent | 1350c3b47a6fed106d1f6814376dd12dea8a14d0 (diff) | |
download | gdb-e57cf1f2cdf819946494becf282e47194aa6216d.zip gdb-e57cf1f2cdf819946494becf282e47194aa6216d.tar.gz gdb-e57cf1f2cdf819946494becf282e47194aa6216d.tar.bz2 |
sim: pru: Add support for LMBD instruction
Binutils support for LMBD instruction was merged [1]. So add it also
to simulator.
LMBD instruction does left-most-bit-detection. It returns 32 if
the given bit value is not found in the provided word value.
[1] https://sourceware.org/pipermail/binutils/2020-October/113901.html
sim/pru/ChangeLog:
* pru.h (RS1SEL): New macro.
(RS1_WIDTH): New macro.
* pru.isa: Describe the LMBD instruction.
sim/testsuite/sim/pru/ChangeLog:
* lmbd.s: New test.
Diffstat (limited to 'djunpack.bat')
0 files changed, 0 insertions, 0 deletions