mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-25 04:30:02 +00:00
3a0eae8546
1. We'll reuse op_vfa() for similar instructions later, prepare for that. 2. We'll reuse vop64_3() for other instructions later. 3. Take care of modifying the vector register only if no trap happened. - on traps, flags are not updated and no elements are modified - traps don't modify the fpc flags - without traps, all exceptions of all elements are merged 4. We'll reuse check_ieee_exc() later when we need the XxC flag. We have to check for exceptions after processing each element. Provide separate handlers for single/all element processing. We'll do the same for all applicable FP instructions. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: David Hildenbrand <david@redhat.com>
31 lines
1.2 KiB
Makefile
31 lines
1.2 KiB
Makefile
obj-y += cpu.o cpu_models.o cpu_features.o gdbstub.o interrupt.o helper.o
|
|
obj-$(CONFIG_TCG) += translate.o cc_helper.o excp_helper.o fpu_helper.o
|
|
obj-$(CONFIG_TCG) += int_helper.o mem_helper.o misc_helper.o crypto_helper.o
|
|
obj-$(CONFIG_TCG) += vec_helper.o vec_int_helper.o vec_string_helper.o
|
|
obj-$(CONFIG_TCG) += vec_fpu_helper.o
|
|
obj-$(CONFIG_SOFTMMU) += machine.o ioinst.o arch_dump.o mmu_helper.o diag.o
|
|
obj-$(CONFIG_SOFTMMU) += sigp.o
|
|
obj-$(CONFIG_KVM) += kvm.o
|
|
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o
|
|
obj-$(call lnot,$(CONFIG_TCG)) += tcg-stub.o
|
|
|
|
# build and run feature list generator
|
|
feat-src = $(SRC_PATH)/target/$(TARGET_BASE_ARCH)/
|
|
feat-dst = $(BUILD_DIR)/$(TARGET_DIR)
|
|
ifneq ($(MAKECMDGOALS),clean)
|
|
generated-files-y += $(feat-dst)gen-features.h
|
|
endif
|
|
|
|
$(feat-dst)gen-features.h: $(feat-dst)gen-features.h-timestamp
|
|
@cmp $< $@ >/dev/null 2>&1 || cp $< $@
|
|
$(feat-dst)gen-features.h-timestamp: $(feat-dst)gen-features
|
|
$(call quiet-command,$< >$@,"GEN","$(TARGET_DIR)gen-features.h")
|
|
|
|
$(feat-dst)gen-features: $(feat-src)gen-features.c
|
|
$(call quiet-command,$(HOST_CC) $(QEMU_INCLUDES) -o $@ $<,"CC","$(TARGET_DIR)gen-features")
|
|
|
|
clean-target:
|
|
rm -f gen-features.h-timestamp
|
|
rm -f gen-features.h
|
|
rm -f gen-features
|