comparison make/linux/makefiles/adlc.make @ 4761:65149e74c706

7121648: Use 3-operands SIMD instructions on x86 with AVX Summary: Use 3-operands SIMD instructions in C2 generated code for machines with AVX. Reviewed-by: never
author kvn
date Tue, 20 Dec 2011 00:55:02 -0800
parents 7e88bdae86ec
children 719f7007c8e8
comparison
equal deleted inserted replaced
4760:669f6a7d5b70 4761:65149e74c706
37 ARCH = $(Platform_arch) 37 ARCH = $(Platform_arch)
38 OS = $(Platform_os_family) 38 OS = $(Platform_os_family)
39 39
40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad 40 SOURCE.AD = $(OUTDIR)/$(OS)_$(Platform_arch_model).ad
41 41
42 SOURCES.AD = \ 42 ifeq ("${Platform_arch_model}", "${Platform_arch}")
43 SOURCES.AD = \
43 $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \ 44 $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
44 $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad) 45 $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
46 else
47 SOURCES.AD = \
48 $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch_model).ad) \
49 $(call altsrc-replace,$(HS_COMMON_SRC)/cpu/$(ARCH)/vm/$(Platform_arch).ad) \
50 $(call altsrc-replace,$(HS_COMMON_SRC)/os_cpu/$(OS)_$(ARCH)/vm/$(OS)_$(Platform_arch_model).ad)
51 endif
45 52
46 EXEC = $(OUTDIR)/adlc 53 EXEC = $(OUTDIR)/adlc
47 54
48 # set VPATH so make knows where to look for source files 55 # set VPATH so make knows where to look for source files
49 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc 56 Src_Dirs_V += $(GAMMADIR)/src/share/vm/adlc