qemu-e2k/target-ppc
Stefan Weil 0211b5cf2d target-ppc: Fix compiler warning
gcc reports a warning which is usually wrong:

target-ppc/dfp_helper.c: In function ‘dfp_get_digit’:
target-ppc/dfp_helper.c:417:1: warning:
 control reaches end of non-void function [-Wreturn-type]

The compiler shows the warning if assert is not marked with the noreturn
attribute or if the code is compiled with -DNDEBUG.

Using g_assert_not_reached better documents the intention and does not
have these problems.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2014-06-24 20:01:24 +04:00
..
arch_dump.c
cpu-models.c target-ppc: Merge 970FX and 970MP into a single 970 class 2014-06-16 13:24:42 +02:00
cpu-models.h
cpu-qom.h target-ppc: Define Processor Compatibility Masks 2014-06-16 13:24:37 +02:00
cpu.h spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE 2014-06-16 13:24:45 +02:00
dfp_helper.c target-ppc: Fix compiler warning 2014-06-24 20:01:24 +04:00
excp_helper.c spapr_hcall: Add address-translation-mode-on-interrupt resource in H_SET_MODE 2014-06-16 13:24:45 +02:00
fpu_helper.c powerpc: use float64 for frsqrte 2014-06-16 13:24:46 +02:00
gdbstub.c
helper_regs.h
helper.h target-ppc: Add POWER8's TM SPRs 2014-06-16 13:24:45 +02:00
int_helper.c
kvm_ppc.c
kvm_ppc.h KVM: PPC: Expose fixup hcall capability 2014-06-16 13:24:41 +02:00
kvm-stub.c
kvm.c PPC: KVM: Make pv hcall endian agnostic 2014-06-16 13:24:46 +02:00
machine.c KVM: target-ppc: Enable TM state migration 2014-06-16 13:24:45 +02:00
Makefile.objs
mem_helper.c target-ppc: Allow little-endian user mode. 2014-06-16 13:24:40 +02:00
mfrom_table_gen.c
mfrom_table.c
misc_helper.c target-ppc: Add POWER8's TM SPRs 2014-06-16 13:24:45 +02:00
mmu_helper.c PPC: e500: Fix TLB lookup for 32bit CPUs 2014-06-16 13:24:41 +02:00
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c
mmu-hash64.h
STATUS
timebase_helper.c
translate_init.c target-ppc: Enable DABRX SPR and limit it to <=POWER7 2014-06-16 13:24:45 +02:00
translate.c target-ppc: Add POWER8's FSCR SPR 2014-06-16 13:24:44 +02:00
user_only_helper.c