~random-stuff/random-stuff/reicast

« back to all changes in this revision

Viewing changes to core/arm_emitter/H_psuedo.h

  • Committer: Stefanos Kornilios Mitsis Poiitidis
  • Date: 2013-12-28 21:28:50 UTC
  • mfrom: (8.1.19)
  • Revision ID: git-v1:f5d29677b32441c3f7870a198a1d5a8b0bdb8b9c
Merge branch 'androidui'

Conflicts:
        core/hw/pvr/spg.cpp
        core/hw/sh4/interpr/sh4_interpreter.cpp
        reicast/android/src/com/reicast/emulator/MainActivity.java

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      H_psuedo.h
 
3
 *
 
4
 */
 
5
 
 
6
#pragma once
 
7
 
 
8
namespace ARM
 
9
{
 
10
 
 
11
        EAPI MOV32(eReg Rd, u32 Imm32, ConditionCode CC=AL)
 
12
        {
 
13
                MOVW(Rd,((Imm32)&0xFFFF),CC);
 
14
                if (Imm32>>16)
 
15
                        MOVT(Rd,((Imm32>>16)&0xFFFF),CC);
 
16
        }
 
17
#if 0
 
18
        EAPI NEG(eReg Rd,eReg Rs)
 
19
        {
 
20
                RSB(Rd,Rs,0);
 
21
        }
 
22
#endif
 
23
        EAPI NOT(eReg Rd,eReg Rs)
 
24
        {
 
25
                MVN(Rd,Rs);
 
26
        }
 
27
 
 
28
 
 
29
}
 
 
b'\\ No newline at end of file'