* server.h (struct emit_ops): Add compare-goto fields.
[deliverable/binutils-gdb.git] / gdb / gdbserver / server.h
index 164d46bebf9b99d99566efb4a8d627bd46737e6e..7c682dcca778c72b418f7dba0c8f18813a4f1388 100644 (file)
@@ -538,6 +538,15 @@ struct emit_ops
      argument and a 64-bit int from the top of the stack, and returns
      nothing (for instance, tsv setter).  */
   void (*emit_void_call_2) (CORE_ADDR fn, int arg1);
+
+  /* Emit code specialized for common combinations of compare followed
+     by a goto.  */
+  void (*emit_eq_goto) (int *offset_p, int *size_p);
+  void (*emit_ne_goto) (int *offset_p, int *size_p);
+  void (*emit_lt_goto) (int *offset_p, int *size_p);
+  void (*emit_le_goto) (int *offset_p, int *size_p);
+  void (*emit_gt_goto) (int *offset_p, int *size_p);
+  void (*emit_ge_goto) (int *offset_p, int *size_p);
 };
 
 /* Returns the address of the get_raw_reg function in the IPA.  */
This page took 0.02691 seconds and 4 git commands to generate.