mirror of
https://github.com/dingusdev/dingusppc.git
synced 2024-06-09 07:29:36 +00:00
Simplify SUBF and remove not_this.
This commit is contained in:
parent
32e64fc1b2
commit
b057a8373d
|
@ -164,7 +164,6 @@ extern uint32_t rot_sh;
|
|||
extern uint32_t rot_mb;
|
||||
extern uint32_t rot_me;
|
||||
extern uint32_t uimm;
|
||||
extern uint32_t not_this;
|
||||
extern uint32_t grab_sr;
|
||||
extern uint32_t grab_inb; //This is for grabbing the number of immediate bytes for loading and storing
|
||||
extern uint32_t ppc_to;
|
||||
|
|
|
@ -29,7 +29,6 @@ uint32_t xercon;
|
|||
uint32_t cmp_c;
|
||||
uint32_t crm;
|
||||
uint32_t uimm;
|
||||
uint32_t not_this;
|
||||
uint32_t grab_sr;
|
||||
uint32_t grab_inb; //This is for grabbing the number of immediate bytes for loading and storing
|
||||
uint32_t ppc_to;
|
||||
|
@ -448,8 +447,7 @@ void ppc_addzeodot() {
|
|||
|
||||
void ppc_subf() {
|
||||
ppc_grab_regsdab();
|
||||
not_this = ~ppc_result_a;
|
||||
ppc_result_d = not_this + ppc_result_b + 1;
|
||||
ppc_result_d = ppc_result_b - ppc_result_a;
|
||||
ppc_store_result_regd();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user