[Libre-soc-bugs] [Bug 845] binutils: drop svmagic and deal with the prefix instead
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Aug 17 20:31:09 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=845
--- Comment #15 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Adding new enum to sv_binutils is easy.
The patch...
https://git.libre-soc.org/?p=openpower-isa.git;a=commit;h=783d7c6c2ab159b4ca38d6fa6254697e8151939f
...the results:
enum svp64_function {
SVP64_FUNCTION_NONE,
SVP64_FUNCTION_ALU,
SVP64_FUNCTION_LDST,
SVP64_FUNCTION_SHIFT_ROT,
SVP64_FUNCTION_LOGICAL,
SVP64_FUNCTION_BRANCH,
SVP64_FUNCTION_CR,
SVP64_FUNCTION_TRAP,
SVP64_FUNCTION_MUL,
SVP64_FUNCTION_DIV,
SVP64_FUNCTION_SPR,
SVP64_FUNCTION_MMU,
SVP64_FUNCTION_SV,
SVP64_FUNCTION_VL,
SVP64_FUNCTION_FPU,
};
struct svp64_desc {
uint64_t function : 4;
/* snip */
};
{
.name = "sv.ldx",
.opcode = {
.value = 0x7c00002a,
.mask = 0xfc0007fe,
},
.desc = {
.function = SVP64_FUNCTION_LDST,
/* snip */
},
},
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list