1 # RUN: llc %s -mtriple=m68k -start-after=prologepilog -O0 -filetype=obj -o - \
2 # RUN: | extract-section .text \
3 # RUN: | FileCheck %s -check-prefixes=MOV8DD,MOV16RA,MOV32RR
5 #------------------------------------------------------------------------------
6 # MxMove_RR moves data from register to register
7 #------------------------------------------------------------------------------
10 # ---------------------------+-----------+-----------+-----------
11 # F E | D C | B A 9 | 8 7 6 | 5 4 3 | 2 1 0
12 # -------+-------+-----------+-----------+-----------+-----------
13 # | | DESTINATION | SOURCE
14 # 0 0 | SIZE | REG | MODE | MODE | REG
15 # -------+-------+-----------+-----------+-----------+-----------
16 # MOV8DD: 0 0 0 1 0 0 1 0 . 0 0 0 0 0 0 0 0
17 # MOV16RA-SAME: 0 0 1 1 0 1 1 0 . 0 0 0 0 1 0 1 0
18 # MOV16RA-SAME: 0 0 1 1 1 1 0 0 . 0 1 0 0 1 0 1 0
19 # MOV16RA-SAME: 0 0 1 1 0 0 1 0 . 0 0 0 0 1 0 1 0
20 # MOV32RR-SAME: 0 0 1 0 0 0 1 0 . 0 0 0 0 0 0 1 0
21 # MOV32RR-SAME: 0 0 1 0 0 0 1 0 . 0 1 0 0 1 0 1 0
25 $bd1 = MOV8dd $bd0, implicit-def $ccr
26 $wd3 = MOV16ra $wa2, implicit-def $ccr
27 $wa6 = MOV16ra $wa2, implicit-def $ccr
28 $wd1 = MOV16ra $wa2, implicit-def $ccr
29 $d1 = MOV32rr $d2, implicit-def $ccr
30 $a1 = MOV32rr $a2, implicit-def $ccr