generated stupid code for long unsigned comparison
This commit is contained in:
parent
9953b58092
commit
eabc223bf0
|
@ -191,6 +191,8 @@ ALT_MEM4 = ALTERABLE4 * MEMORY4
|
|||
DATASCR4 = DATAREG4 * SCRATCH
|
||||
NO_ADDREG = EXTERNAL_ADDR + ABS4 + IMMEDIATE4 + EXTENDED4 + DATAREG4
|
||||
|
||||
CONST4 = EXTERNAL_ADDR + IMMEDIATE4
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -2282,7 +2284,7 @@ cmp tlt | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcs 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2294,7 +2296,7 @@ cmp tle | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"bls 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2306,7 +2308,7 @@ cmp teq | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"beq 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2318,7 +2320,7 @@ cmp bne | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"bne 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2330,7 +2332,7 @@ cmp tge | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcc 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2342,7 +2344,7 @@ cmp tgt | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
"clr.w %[a]"
|
||||
"1:"
|
||||
erase(%[a]) | %[a] | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
... | nocoercions: CONST4 DATA_ALT4 | allocate(DATAREG={IMMEDIATE,1})
|
||||
"cmp.l %[1],%[2]"
|
||||
"bhi 1f"
|
||||
"clr.w %[a]"
|
||||
|
@ -2352,37 +2354,37 @@ cmp tgt | ANY4 ADDREG | allocate(DATAREG={IMMEDIATE,1})
|
|||
cmp zlt | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcs $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcs $2" | | |
|
||||
cmp zle | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bls $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bls $2" | | |
|
||||
cmp zeq | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"beq $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"beq $2" | | |
|
||||
cmp zne | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bne $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bne $2" | | |
|
||||
cmp zge | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcc $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bcc $2" | | |
|
||||
cmp zgt | ANY4 ADDREG | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bhi $2" | | |
|
||||
... | nocoercions: EXTERNAL_ADDR DATA_ALT4 | remove(ALL)
|
||||
... | nocoercions: CONST4 DATA_ALT4 | remove(ALL)
|
||||
"cmp.l %[1],%[2]"
|
||||
"bhi $2" | | |
|
||||
tlt and $2==2 | DATA_ALT DATASCR |
|
||||
|
|
Loading…
Reference in a new issue