translate.c (f2cfa1229e539ee1bb1822912075cf25538ad6b9) | translate.c (14776ab5a12972ea439c7fb2203a4c15a09094b4) |
---|---|
1/* 2 * Xilinx MicroBlaze emulation for qemu: main translation routines. 3 * 4 * Copyright (c) 2009 Edgar E. Iglesias. 5 * Copyright (c) 2009-2012 PetaLogix Qld Pty Ltd. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 905 unchanged lines hidden (view full) --- 914 915static void dec_load(DisasContext *dc) 916{ 917 TCGv_i32 v; 918 TCGv addr; 919 unsigned int size; 920 bool rev = false, ex = false, ea = false; 921 int mem_index = cpu_mmu_index(&dc->cpu->env, false); | 1/* 2 * Xilinx MicroBlaze emulation for qemu: main translation routines. 3 * 4 * Copyright (c) 2009 Edgar E. Iglesias. 5 * Copyright (c) 2009-2012 PetaLogix Qld Pty Ltd. 6 * 7 * This library is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU Lesser General Public --- 905 unchanged lines hidden (view full) --- 914 915static void dec_load(DisasContext *dc) 916{ 917 TCGv_i32 v; 918 TCGv addr; 919 unsigned int size; 920 bool rev = false, ex = false, ea = false; 921 int mem_index = cpu_mmu_index(&dc->cpu->env, false); |
922 TCGMemOp mop; | 922 MemOp mop; |
923 924 mop = dc->opcode & 3; 925 size = 1 << mop; 926 if (!dc->type_b) { 927 ea = extract32(dc->ir, 7, 1); 928 rev = extract32(dc->ir, 9, 1); 929 ex = extract32(dc->ir, 10, 1); 930 } --- 99 unchanged lines hidden (view full) --- 1030 1031static void dec_store(DisasContext *dc) 1032{ 1033 TCGv addr; 1034 TCGLabel *swx_skip = NULL; 1035 unsigned int size; 1036 bool rev = false, ex = false, ea = false; 1037 int mem_index = cpu_mmu_index(&dc->cpu->env, false); | 923 924 mop = dc->opcode & 3; 925 size = 1 << mop; 926 if (!dc->type_b) { 927 ea = extract32(dc->ir, 7, 1); 928 rev = extract32(dc->ir, 9, 1); 929 ex = extract32(dc->ir, 10, 1); 930 } --- 99 unchanged lines hidden (view full) --- 1030 1031static void dec_store(DisasContext *dc) 1032{ 1033 TCGv addr; 1034 TCGLabel *swx_skip = NULL; 1035 unsigned int size; 1036 bool rev = false, ex = false, ea = false; 1037 int mem_index = cpu_mmu_index(&dc->cpu->env, false); |
1038 TCGMemOp mop; | 1038 MemOp mop; |
1039 1040 mop = dc->opcode & 3; 1041 size = 1 << mop; 1042 if (!dc->type_b) { 1043 ea = extract32(dc->ir, 7, 1); 1044 rev = extract32(dc->ir, 9, 1); 1045 ex = extract32(dc->ir, 10, 1); 1046 } --- 806 unchanged lines hidden --- | 1039 1040 mop = dc->opcode & 3; 1041 size = 1 << mop; 1042 if (!dc->type_b) { 1043 ea = extract32(dc->ir, 7, 1); 1044 rev = extract32(dc->ir, 9, 1); 1045 ex = extract32(dc->ir, 10, 1); 1046 } --- 806 unchanged lines hidden --- |