~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to target-m68k/op_mem.h

  • Committer: Bazaar Package Importer
  • Author(s): Aurelien Jarno, Aurelien Jarno
  • Date: 2009-03-22 10:13:17 UTC
  • mfrom: (1.2.1 upstream) (6.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090322101317-iigjtnu5qil35dtb
Tags: 0.10.1-1
[ Aurelien Jarno ]
* New upstream stable release:
  - patches/80_stable-branch.patch: remove.
* debian/control: 
  - Remove depends on proll.
  - Move depends on device-tree-compiler to build-depends.
  - Bump Standards-Version to 3.8.1 (no changes).
* patches/82_qemu-img_decimal.patch: new patch from upstream to make
  qemu-img accept sizes with decimal values (closes: bug#501400).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Load/store ops.  */
2
 
#define MEM_LD_OP(name,suffix) \
3
 
OP(glue(glue(ld,name),MEMSUFFIX)) \
4
 
{ \
5
 
    uint32_t addr = get_op(PARAM2); \
6
 
    set_op(PARAM1, glue(glue(ld,suffix),MEMSUFFIX)(addr)); \
7
 
    FORCE_RET(); \
8
 
}
9
 
 
10
 
MEM_LD_OP(8u32,ub)
11
 
MEM_LD_OP(8s32,sb)
12
 
MEM_LD_OP(16u32,uw)
13
 
MEM_LD_OP(16s32,sw)
14
 
MEM_LD_OP(32,l)
15
 
 
16
 
#undef MEM_LD_OP
17
 
 
18
 
#define MEM_ST_OP(name,suffix) \
19
 
OP(glue(glue(st,name),MEMSUFFIX)) \
20
 
{ \
21
 
    uint32_t addr = get_op(PARAM1); \
22
 
    glue(glue(st,suffix),MEMSUFFIX)(addr, get_op(PARAM2)); \
23
 
    FORCE_RET(); \
24
 
}
25
 
 
26
 
MEM_ST_OP(8,b)
27
 
MEM_ST_OP(16,w)
28
 
MEM_ST_OP(32,l)
29
 
 
30
 
#undef MEM_ST_OP
31
 
 
32
 
OP(glue(ldf64,MEMSUFFIX))
33
 
{
34
 
    uint32_t addr = get_op(PARAM2);
35
 
    set_opf64(PARAM1, glue(ldfq,MEMSUFFIX)(addr));
36
 
    FORCE_RET();
37
 
}
38
 
 
39
 
OP(glue(stf64,MEMSUFFIX))
40
 
{
41
 
    uint32_t addr = get_op(PARAM1);
42
 
    glue(stfq,MEMSUFFIX)(addr, get_opf64(PARAM2));
43
 
    FORCE_RET();
44
 
}
45
 
 
46
 
#undef MEMSUFFIX