Bug 954 - binutils: support min/max instructions
Summary: binutils: support min/max instructions
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: Source Code (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Dmitry Selyutin
URL: https://libre-soc.org/openpower/sv/av...
Depends on:
Reported: 2022-10-14 18:04 BST by Dmitry Selyutin
Modified: 2023-03-28 09:14 BST (History)
2 users (show)

See Also:
NLnet milestone: NLnet.2021-08-071.cavatools
total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0
parent task for budget allocation: 958
child tasks for budget allocation:
The table of payments (in EUR) for this task; TOML format:


Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Selyutin 2022-10-14 18:04:24 BST
Currently binutils lacks maxs, maxs., mins, mins., maxu, maxu., minu, minu. instructions. These should be added.
Comment 1 Dmitry Selyutin 2022-10-17 17:17:14 BST
Recent binutils now support min/max instructions; I'm mentally marking this task as a candidate for RFP.
Comment 2 Dmitry Selyutin 2022-10-17 17:18:27 BST
The output produced by binutils for this test code matches pysvp64asm output.

minu 31,0,0
minu 0,31,0
minu 0,0,31
minu. 31,0,0
minu. 0,31,0
minu. 0,0,31
maxu 31,0,0
maxu 0,31,0
maxu 0,0,31
maxu. 31,0,0
maxu. 0,31,0
maxu. 0,0,31
mins 31,0,0
mins 0,31,0
mins 0,0,31
mins. 31,0,0
mins. 0,31,0
mins. 0,0,31
maxs 31,0,0
maxs 0,31,0
maxs 0,0,31
maxs. 31,0,0
maxs. 0,31,0
maxs. 0,0,31
Comment 3 Dmitry Selyutin 2023-03-28 09:14:15 BST
As parent task is completed, I'm marking this as resolved.