Revision 107a47cc

b/tcg/README
504 504
- Don't hesitate to use helpers for complicated or seldom used target
505 505
  instructions. There is little performance advantage in using TCG to
506 506
  implement target instructions taking more than about twenty TCG
507
  instructions.
507
  instructions. Note that this rule of thumb is more applicable to
508
  helpers doing complex logic or arithmetic, where the C compiler has
509
  scope to do a good job of optimisation; it is less relevant where
510
  the instruction is mostly doing loads and stores, and in those cases
511
  inline TCG may still be faster for longer sequences.
512

  
513
- The hard limit on the number of TCG instructions you can generate
514
  per target instruction is set by MAX_OP_PER_INSTR in exec-all.h --
515
  you cannot exceed this without risking a buffer overrun.
508 516

  
509 517
- Use the 'discard' instruction if you know that TCG won't be able to
510 518
  prove that a given global is "dead" at a given program point. The

Also available in: Unified diff