openhwgroup / corev-binutils-gdb

GNU General Public License v2.0
9 stars 26 forks source link

gas: encoding of cv.ext* and hardware loop constants #36

Closed bluewww closed 2 years ago

bluewww commented 3 years ago

A while ago I rewrote and ported the pulp gcc and pulp binutils to a newer gcc release. I imported the new tests that were added to the assembler and I found a few discrepancies:

From https://cv32e40p.readthedocs.io/en/latest/instruction_set_extensions/#general-alu-encoding

From https://cv32e40p.readthedocs.io/en/latest/instruction_set_extensions/#hardware-loops

Robert

jessicamills commented 2 years ago

@bluewww Thank you for the bug report and the reproducer. We will look in to this and keep you updated.