<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<font face="monospace">Hi.<br>
<br>
Please review the attached patch.<br>
<br>
There are many Thumb instructions which take 12-bit immediates
encoded in a special<br>
8-byte value + 4-byte rotator form. Not all numbers are
represented, and it's legal<br>
to transform an assembly instruction to be able to encode the
immediate.<br>
<br>
For example: AND and BIC are complementary instructions; one can
switch the AND<br>
to a BIC as long as the immediate is complemented. <br>
<br>
The intent is to switch one instruction into its complementary one
when the immediate<br>
cannot be encoded in the form requested in the original assembly
and when the <br>
complementary immediate is encodable.<br>
<br>
The patch addresses two issues:<br>
1. definition of t2SOImmNot immediate - it has to check that the
orignal value is<br>
not encoded naturally<br>
2. t2AND and t2BIC instruction aliases which should use the Thumb2
SOImm operand <br>
rather than the ARM one.<br>
<br>
Regards,<br>
Mihai<br>
</font>
</body>
</html>