Skip to content
  • Richard Henderson's avatar
    129e9cc3
    target-hppa: Add nullification framework · 129e9cc3
    Richard Henderson authored
    
    
    The HPPA cpu has a unique form of predicated execution in which
    almost any instruction can set the PSW[N] (or "nullify") bit,
    which suppresses execution (and even decoding) of the following
    instruction.  Execution of a nullified insn clears the PSW[N] bit.
    
    This adds a generic framework for branching over nullified insns,
    or for sufficiently simple insns, transforming the writeback of
    the result to a conditional move.  In the process, we want to be
    able to represent PSW[N] as a TCG condition, which implies management
    of the related tcg temps.
    
    Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
    129e9cc3
    target-hppa: Add nullification framework
    Richard Henderson authored
    
    
    The HPPA cpu has a unique form of predicated execution in which
    almost any instruction can set the PSW[N] (or "nullify") bit,
    which suppresses execution (and even decoding) of the following
    instruction.  Execution of a nullified insn clears the PSW[N] bit.
    
    This adds a generic framework for branching over nullified insns,
    or for sufficiently simple insns, transforming the writeback of
    the result to a conditional move.  In the process, we want to be
    able to represent PSW[N] as a TCG condition, which implies management
    of the related tcg temps.
    
    Signed-off-by: default avatarRichard Henderson <rth@twiddle.net>
Loading