723 |
|
switch(size) |
724 |
|
{ |
725 |
|
case sz_byte: |
726 |
< |
printf("\t%s = sparc_v8_flag_add_8(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
726 |
> |
printf("\t%s = sparc_v8_flag_add_8(M68K_FLAGS_ADDR, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
727 |
|
break; |
728 |
|
case sz_word: |
729 |
< |
printf("\t%s = sparc_v8_flag_add_16(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
729 |
> |
printf("\t%s = sparc_v8_flag_add_16(M68K_FLAGS_ADDR, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
730 |
|
break; |
731 |
|
case sz_long: |
732 |
< |
printf("\t%s = sparc_v8_flag_add_32(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
732 |
> |
printf("\t%s = sparc_v8_flag_add_32(M68K_FLAGS_ADDR, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
733 |
|
break; |
734 |
|
} |
735 |
|
return; |
736 |
– |
|
737 |
– |
case flag_sub: |
738 |
– |
start_brace(); |
739 |
– |
printf("\tuae_u32 %s;\n", value); |
740 |
– |
switch(size) |
741 |
– |
{ |
742 |
– |
case sz_byte: |
743 |
– |
printf("\t%s = sparc_v8_flag_sub_8(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
744 |
– |
break; |
745 |
– |
case sz_word: |
746 |
– |
printf("\t%s = sparc_v8_flag_sub_16(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
747 |
– |
break; |
748 |
– |
case sz_long: |
749 |
– |
printf("\t%s = sparc_v8_flag_sub_32(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", value, src, dst); |
750 |
– |
break; |
751 |
– |
} |
752 |
– |
return; |
753 |
– |
|
754 |
– |
case flag_cmp: |
755 |
– |
switch(size) |
756 |
– |
{ |
757 |
– |
case sz_byte: |
758 |
– |
// printf("\tsparc_v8_flag_cmp_8(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", src, dst); |
759 |
– |
break; |
760 |
– |
case sz_word: |
761 |
– |
// printf("\tsparc_v8_flag_cmp_16(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", src, dst); |
762 |
– |
break; |
763 |
– |
case sz_long: |
764 |
– |
#if 1 |
765 |
– |
printf("\tsparc_v8_flag_cmp_32(®flags, (uae_u32)(%s), (uae_u32)(%s));\n", src, dst); |
766 |
– |
return; |
767 |
– |
#endif |
768 |
– |
break; |
769 |
– |
} |
770 |
– |
// return; |
771 |
– |
break; |
736 |
|
} |
737 |
|
#elif defined(SPARC_V9_ASSEMBLY) |
738 |
|
switch(type) |