forked from OSchip/llvm-project
				
			slight re-arrangement to maybe pick up one cycle on dual-issue ARM cores
llvm-svn: 128003
This commit is contained in:
		
							parent
							
								
									4dc36c66e5
								
							
						
					
					
						commit
						32acbef33f
					
				| 
						 | 
					@ -40,8 +40,8 @@ DEFINE_COMPILERRT_FUNCTION(__divmodsi4)
 | 
				
			||||||
//  Apply the sign of quotient and modulus
 | 
					//  Apply the sign of quotient and modulus
 | 
				
			||||||
    ldr     r1,    [r6]
 | 
					    ldr     r1,    [r6]
 | 
				
			||||||
    eor     r0,     r0, r4, asr #31
 | 
					    eor     r0,     r0, r4, asr #31
 | 
				
			||||||
    sub     r0,     r0, r4, asr #31
 | 
					 | 
				
			||||||
    eor     r1,     r1, r5, asr #31
 | 
					    eor     r1,     r1, r5, asr #31
 | 
				
			||||||
 | 
					    sub     r0,     r0, r4, asr #31
 | 
				
			||||||
    sub     r1,     r1, r5, asr #31
 | 
					    sub     r1,     r1, r5, asr #31
 | 
				
			||||||
    str     r1,    [r6]
 | 
					    str     r1,    [r6]
 | 
				
			||||||
    CLEAR_FRAME_AND_RETURN
 | 
					    CLEAR_FRAME_AND_RETURN
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue