* config/tc-mips.c (macro)

<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
	dedicated return points.
This commit is contained in:
Maciej W. Rozycki
2010-12-09 23:46:06 +00:00
parent d5818fca0b
commit c7af427326
2 changed files with 11 additions and 10 deletions

View File

@ -1,3 +1,9 @@
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
* config/tc-mips.c (macro)
<M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
dedicated return points.
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com> 2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
* config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used

View File

@ -6144,37 +6144,32 @@ macro (struct mips_cl_insn *ip)
unsigned long temp = (treg << 16) | (0x01); unsigned long temp = (treg << 16) | (0x01);
macro_build (NULL, "c2", "C", temp); macro_build (NULL, "c2", "C", temp);
} }
/* AT is not used, just return */ break;
return;
case M_MSGLD: case M_MSGLD:
{ {
unsigned long temp = (0x02); unsigned long temp = (0x02);
macro_build (NULL, "c2", "C", temp); macro_build (NULL, "c2", "C", temp);
} }
/* AT is not used, just return */ break;
return;
case M_MSGLD_T: case M_MSGLD_T:
{ {
unsigned long temp = (treg << 16) | (0x02); unsigned long temp = (treg << 16) | (0x02);
macro_build (NULL, "c2", "C", temp); macro_build (NULL, "c2", "C", temp);
} }
/* AT is not used, just return */ break;
return;
case M_MSGWAIT: case M_MSGWAIT:
macro_build (NULL, "c2", "C", 3); macro_build (NULL, "c2", "C", 3);
/* AT is not used, just return */ break;
return;
case M_MSGWAIT_T: case M_MSGWAIT_T:
{ {
unsigned long temp = (treg << 16) | 0x03; unsigned long temp = (treg << 16) | 0x03;
macro_build (NULL, "c2", "C", temp); macro_build (NULL, "c2", "C", temp);
} }
/* AT is not used, just return */ break;
return;
case M_J_A: case M_J_A:
/* The j instruction may not be used in PIC code, since it /* The j instruction may not be used in PIC code, since it