mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-08-15 09:27:27 +00:00
Fixed subfo(.)
This commit is contained in:
@@ -454,17 +454,17 @@ void ppc_subfdot() {
|
|||||||
|
|
||||||
void ppc_subfo() {
|
void ppc_subfo() {
|
||||||
ppc_grab_regsdab();
|
ppc_grab_regsdab();
|
||||||
ppc_setsoov(ppc_result_a, ppc_result_b, ppc_result_d);
|
|
||||||
not_this = ~ppc_result_a;
|
not_this = ~ppc_result_a;
|
||||||
ppc_result_d = not_this + ppc_result_b + 1;
|
ppc_result_d = not_this + ppc_result_b + 1;
|
||||||
|
ppc_setsoov(ppc_result_a, ppc_result_b, ppc_result_d);
|
||||||
ppc_store_result_regd();
|
ppc_store_result_regd();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ppc_subfodot() {
|
void ppc_subfodot() {
|
||||||
ppc_grab_regsdab();
|
ppc_grab_regsdab();
|
||||||
ppc_setsoov(ppc_result_a, ppc_result_b, ppc_result_d);
|
|
||||||
not_this = ~ppc_result_a;
|
not_this = ~ppc_result_a;
|
||||||
ppc_result_d = not_this + ppc_result_b + 1;
|
ppc_result_d = not_this + ppc_result_b + 1;
|
||||||
|
ppc_setsoov(ppc_result_a, ppc_result_b, ppc_result_d);
|
||||||
ppc_changecrf0(ppc_result_d);
|
ppc_changecrf0(ppc_result_d);
|
||||||
ppc_store_result_regd();
|
ppc_store_result_regd();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user