<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/85686>85686</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Fix FIXME for M68k::MOV16dc
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
JomerDev
</td>
</tr>
</table>
<pre>
There is a FIXME [here](https://github.com/llvm/llvm-project/blob/main/llvm/lib/Target/M68k/M68kInstrInfo.cpp#L497) for the `MOVE from CCR` instruction on 68000. From my understanding the way to fix it would be to use `MOVE from SR` instead, since CCR is just the lower byte of SR.
I looked at the code in an attempt to fix it myself but after trying to find a way for some time I just have no idea where to get the information from if the target is 68000 or 68010 in or around that function, so this is the best I can do right now
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUU0FvszgQ_TXmMtrImEDCgUPaFCmrjSq1VbVXgwdwC57IHprm36_sdner7_adbA1v5r15POsQ7OgQG1HeifKY6ZUn8s2ftKA_4kfWkbk1LxN6BBtAQ3v6-_wAoryLJVEehdpPzJcgioNQrVDtaHlau01Pi1DtPH_8e_xx8fSGPQvVdjN1QrWLtu4Hxsbai_YjRsy52r9_HycX2J_cQJv-chGq-Gtb74SqYSAPPCGISp4fXx9g8LTA_f2TqCTY2LP2bMkBOaj2UsoNtBGx3GB1Bn1g7Yx1Y5px1TdggsF-gmW40job6DCW1vALw_N_BKiNUPcQrOsxEkeH3tbAaeJMV_TQ3RiBBnh-2oCQRyEPJ5iJ3tGA_sL1ZBCsA-1AM-Ny4R9CllvAeYBuZdADowf2tyQ5IpwBnYRHIwItCGwXhNOXhkl_IDgCa1DDNf1AJhjxi9W6gfyikz9pKzukOif_4yLJMiAfL3ncN961p9UZ4EkzDKtL_iYLCHiyIfbFKR0GhhP02oEh8HacGBxdM9MUpi5qnWGT73K5q_NSqWxqsKqNLBXiNlfK5HXZ9aY2Q6FzqfqdqjPbKKm2ssj3eV0qqTZ5qUvdl2i6Xkk0RmwlLtrOm5imDfkxsyGs2OzLal9ls-5wDiniSjm8QvoolIqJ902KZ7eOQWzlbAOH_6ew5Rmb1n5-Bz9anaJZHERxOD--5pXps9XPzW-_gqQhCNUmjf8EAAD__2JyJzc">