mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
Hexagon (target/hexagon) add A6_vminub_RdP
Rdd32,Pe4 = vminub(Rtt32, Rss32) Vector min of bytes Test cases in tests/tcg/hexagon/multi_result.c Signed-off-by: Taylor Simpson <tsimpson@quicinc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <1617930474-31979-21-git-send-email-tsimpson@quicinc.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
da74cd2dce
commit
0a65d28693
5 changed files with 94 additions and 0 deletions
|
@ -1259,6 +1259,16 @@ Q6INSN(A5_ACS,"Rxx32,Pe4=vacsh(Rss32,Rtt32)",ATTRIBS(),
|
|||
}
|
||||
})
|
||||
|
||||
Q6INSN(A6_vminub_RdP,"Rdd32,Pe4=vminub(Rtt32,Rss32)",ATTRIBS(),
|
||||
"Vector minimum of bytes, records minimum and decision vector",
|
||||
{
|
||||
fHIDE(int i;)
|
||||
for (i = 0; i < 8; i++) {
|
||||
fSETBIT(i, PeV, (fGETUBYTE(i,RttV) > fGETUBYTE(i,RssV)));
|
||||
fSETBYTE(i,RddV,fMIN(fGETUBYTE(i,RttV),fGETUBYTE(i,RssV)));
|
||||
}
|
||||
})
|
||||
|
||||
/**********************************************/
|
||||
/* Vector Min/Max */
|
||||
/**********************************************/
|
||||
|
|
|
@ -1018,6 +1018,7 @@ MPY_ENC(M7_dcmpyiwc_acc, "1010","xxxxx","1","0","1","0","10")
|
|||
|
||||
|
||||
MPY_ENC(A5_ACS, "1010","xxxxx","0","1","0","1","ee")
|
||||
MPY_ENC(A6_vminub_RdP, "1010","ddddd","0","1","1","1","ee")
|
||||
/*
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue