From fd7b2a545d530118913b1aefbfd8526785d3c2cc Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 13 May 2013 10:52:52 +0000 Subject: [PATCH] * v850.igen (LDSR): Accept but ignore a selID parameter. --- sim/v850/ChangeLog | 4 ++++ sim/v850/v850.igen | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index a3139feb750..2c3669c3d13 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2013-05-13 Nick Clifton + + * v850.igen (LDSR): Accept but ignore a selID parameter. + 2013-05-10 Freddie Chopin * configure: Rebuild. diff --git a/sim/v850/v850.igen b/sim/v850/v850.igen index b0f390313d7..c5b41809f69 100644 --- a/sim/v850/v850.igen +++ b/sim/v850/v850.igen @@ -934,13 +934,15 @@ rrrrr!0,111111,RRRRR + ddddddddddddddd,1:VII:::ld.hu // LDSR -regID,111111,RRRRR + 0000000000100000:IX:::ldsr -"ldsr r, s" +regID,111111,RRRRR + selID,00000100000:IX:::ldsr +"ldsr r, s":(selID == 0) +"ldsr r, s, " { uint32 sreg = GR[reg1]; TRACE_ALU_INPUT1 (GR[reg1]); - if ((idecode_issue == idecode_v850e2_issue + /* FIXME: For now we ignore the selID. */ + if ( (idecode_issue == idecode_v850e2_issue || idecode_issue == idecode_v850e3v5_issue || idecode_issue == idecode_v850e2v3_issue) && regID < 28) -- 2.30.2