target_ulong helper_csrrc(CPURISCVState *env, target_ulong src, target_ulong csr, target_ulong new_pc) { validate_csr(env, csr, 1, new_pc); uint64_t csr_backup = csr_read_helper(env, csr); csr_write_helper(env, (~src) & csr_backup, csr); return csr_backup; }
target_ulong helper_csrrc(CPURISCVState *env, target_ulong src, target_ulong csr) { uint64_t csr_backup = csr_read_helper(env, csr); csr_write_helper(env, (~src) & csr_backup, csr); return csr_backup; }