forked from OSchip/llvm-project
parent
64a7c828cb
commit
31306b1571
|
@ -117,10 +117,10 @@ DEFINE_COMPILERRT_FUNCTION(__udivmodsi4)
|
|||
|
||||
#define IMM #
|
||||
|
||||
#define block(shift) \
|
||||
cmp r0, r1, lsl IMM shift; \
|
||||
ITT(hs); \
|
||||
addhs.w r3, r3, IMM (1 << shift); \
|
||||
#define block(shift) \
|
||||
cmp r0, r1, lsl IMM shift; \
|
||||
ITT(hs); \
|
||||
addhs.w r3, r3, IMM (1 << shift); \
|
||||
subhs.w r0, r0, r1, lsl IMM shift
|
||||
|
||||
block(31)
|
||||
|
|
|
@ -117,10 +117,10 @@ DEFINE_COMPILERRT_FUNCTION(__udivsi3)
|
|||
|
||||
#define IMM #
|
||||
|
||||
#define block(shift) \
|
||||
cmp r0, r1, lsl IMM shift; \
|
||||
ITT(hs); \
|
||||
addhs.w r3, r3, IMM (1 << shift); \
|
||||
#define block(shift) \
|
||||
cmp r0, r1, lsl IMM shift; \
|
||||
ITT(hs); \
|
||||
addhs.w r3, r3, IMM (1 << shift); \
|
||||
subhs.w r0, r0, r1, lsl IMM shift
|
||||
|
||||
block(31)
|
||||
|
|
Loading…
Reference in New Issue