Commit Graph

96629 Commits

Author SHA1 Message Date
Alibek Omarov 222940f0c5 fpu: assuming e2k fp behave like x86 2022-06-10 11:48:15 +03:00
Denis Drakhnia 21b39b8206 target: e2k: Delete hack for saving USD registers on proc call/ret. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 245359c6f6 target: e2k: Add psubd instr. 2022-06-10 11:48:15 +03:00
Denis Drakhnia a2ac544dde target: e2k: Fix address generation in staa. 2022-06-10 11:48:15 +03:00
Denis Drakhnia bcc311b773 target: e2k: Fix udivs exception hack. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 6496153694 target: e2k: Impl restore_state_to_opc. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 1dd030c321 target: e2k: Add e2k_todo{,_illop} macros. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 4646e43803 target: e2k: Add tlb_fill handler. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 8143c8c7e8 target: e2k: Clear registers in new allocated range of window. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 4a13be8f68 target: e2k: Fix incorrect registers view in gdb after exception. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 8cac70df0e target: e2k: Fix gdb run till exit from func. 2022-06-10 11:48:15 +03:00
Denis Drakhnia d402c52f4a target: e2k: %cr0 must hold pregs and ip of previous procedure. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 37b4ee19b0 target: e2k: Remove unneeded regs array in TCG state. 2022-06-10 11:48:15 +03:00
Denis Drakhnia ad6bc687e4 target: e2k: HACK: Tag storage for procedure stack. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 728e400620 target: e2k: Save PC before reading it in rr{s,d}. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 8028167de5 target: e2k: Select tag for taken source in merge{s,d}. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 5b444c9356 target: e2k: Add dbl window modifier. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 2446fbf44c target: e2k: mova{b,h,w} must write to reg64. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 3497bb27c2 target: e2k: Impl multiple pred for ALC exec. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 381868f71a target: e2k: Return aligned pointer from getsp. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 83e2503867 target: e2k: HACK: Add stack for USD registers.
CPU must restore `USD` after calls but I don't know how it should be implemented.
2022-06-10 11:48:15 +03:00
Denis Drakhnia 42776dbe37 target: e2k: Add cmp{o,s,p}{s,d} instrs.
Fix cmpandp{s,d}b.
2022-06-10 11:48:15 +03:00
Denis Drakhnia 5bdd9dcd3d target: e2k: Do not account %predN for ct in loop prologue. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 64ac87f915 target: e2k: Add %pcntN condition. 2022-06-10 11:48:15 +03:00
Denis Drakhnia bd027ff219 target: e2k: Force ps pop in FX mode. 2022-06-10 11:48:15 +03:00
Denis Drakhnia 9e1baaca2a target: e2k: Ignore unimplemented mas opc in store. 2022-06-10 11:48:15 +03:00
Denis Drakhnia db78528419 target: e2k: Add pmovmskb instr. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 2543a5cc12 target: e2k: Add p{min,max}{ub,sh} instrs. 2022-06-10 11:48:14 +03:00
Denis Drakhnia b979c52ac5 target: e2k: Add staaq instr. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 2d0cb97529 target: e2k: Execute ALES2/5 together with others channels. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 4a572f8263 target: e2k: Add xregs. 2022-06-10 11:48:14 +03:00
Denis Drakhnia a19227acd9 target: e2k: Log msg if wd.fx is setted. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 9662877725 target: e2k: Do not save IP on every instruction. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 65ffbc6d30 target: e2k: Reading %ilcr for gdb. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 9e88287e16 target: e2k: Fix setting ctpr.ipd for *disp instr. 2022-06-10 11:48:14 +03:00
Denis Drakhnia d66487e181 target: e2k: Dec store rem in loop mode. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 1c03415d9e target: e2k: Restricted loop_mode implementation. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 0f874d1b0b target: e2k: Fix reading aadN from gdb. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 31e084720a target: e2k: Add basic mova{b,h,w,d} impl. 2022-06-10 11:48:14 +03:00
Denis Drakhnia bd6208c09f target: e2k: Fix ctpr size. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 7578f94f7c target: e2k: Remove merge condition from Instr. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 93acd43783 target: e2k: Add staa{b,h} instrs. 2022-06-10 11:48:14 +03:00
Alibek Omarov 327bc03604 target: e2k: define CPUs we're testing against, define gdb arch 2022-06-10 11:48:14 +03:00
Alibek Omarov df21ab3d70 target: e2k: define CPUs we're testing against, define gdb arch 2022-06-10 11:48:14 +03:00
Denis Drakhnia 7bdf849174 target: e2k: Add clarification to gen_tag funcs. 2022-06-10 11:48:14 +03:00
Alibek Omarov e19c72c5df target: e2k: add umulx/smulx instrs. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 9dc320f574 target: e2k: Fix sxt/st operand sizes. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 8e033a839e target: e2k: Hack delay %rN index gen for result. 2022-06-10 11:48:14 +03:00
Denis Drakhnia 1ad7988e9a target: e2k: Fix based preg. 2022-06-10 11:48:14 +03:00
Denis Drakhnia a357666e69 target: e2k: Log msg if dbl is setted. 2022-06-10 11:48:14 +03:00