summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/mips/24k-branch-delay-1.s
blob: bae2be0989489528efb2adaa4fb8e2d65a731c8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Test that we don't move store into delay slots

	.text
func:
	addiu   $2,$3,5        
	lw      $4,0($2)
	sw      $3,0($2)
	sw      $3,8($2)
	sw      $3,16($2)
	beq     $3,0,.L1
	lw      $3,8($2)
.L1:
	lw      $5,16($2)
	.p2align        4