sendaoYan / riscv-port-jdk8u-ysd

https://openjdk.org/projects/riscv-port
GNU General Public License v2.0
0 stars 0 forks source link

riscv.ad:2185:10: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’ #152

Open sendaoYan opened 1 month ago

sendaoYan commented 1 month ago
+ cd build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/generated
+ bash -c '/usr/bin/g++ -DLINUX -D_GNU_SOURCE -DRISCV64 -DPRODUCT -I. -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/prims -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/share/vm/precompiled -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os_cpu/linux_riscv/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os/linux/vm -I/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/os/posix/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"25.412-b00\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"yansendao\"" -DHOTSPOT_LIB_ARCH=\"riscv64\" -DHOTSPOT_VM_DISTRO="\"OpenJDK\""  -DTARGET_OS_FAMILY_linux -DTARGET_ARCH_riscv -DTARGET_ARCH_MODEL_riscv -DTARGET_OS_ARCH_linux_riscv -DTARGET_OS_ARCH_MODEL_linux_riscv64 -DTARGET_COMPILER_gcc -DINCLUDE_JFR=1 -DCOMPILER2 -DCOMPILER1 -fPIC -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -fvisibility=hidden  -pipe -fno-strict-aliasing  -fno-omit-frame-pointer -O3  -g -DVM_LITTLE_ENDIAN -D_LP64=1 -Werror -Wpointer-arith -Wsign-compare -Wundef -Wunused-function -Wunused-value -Wformat=2 -Wreturn-type   -fstack-protector  -fno-delete-null-pointer-checks -fno-lifetime-dse -std=gnu++98 -DDTRACE_ENABLED -c -MMD -MP -MF ../generated/dependencies/ad_riscv.o.d -fpch-deps -o ad_riscv.o ../generated/adfiles/ad_riscv.cpp'
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad: In member function ‘virtual void prefetchrNode::emit(CodeBuffer&, PhaseRegAlloc*) const’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2185:10: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2185 |       __ prefetch_w(Address(base, disp), PLDL1KEEP);
      |          ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2185:42: error: ‘PLDL1KEEP’ was not declared in this scope
 2185 |       __ prefetch_w(Address(base, disp), PLDL1KEEP);
      |                                          ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2189:12: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2189 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |            ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2189:57: error: ‘lsl’ is not a member of ‘Address’
 2189 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |                                                         ^~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2189:70: error: ‘PLDL1KEEP’ was not declared in this scope
 2189 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |                                                                      ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2191:15: error: ‘rscratch1’ was not declared in this scope
 2191 |         __ la(rscratch1, Address(base, disp));
      |               ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2192:12: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2192 |         __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |            ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2192:62: error: ‘lsl’ is not a member of ‘Address’
 2192 |         __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |                                                              ^~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2192:75: error: ‘PLDL1KEEP’ was not declared in this scope
 2192 |         __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PLDL1KEEP);
      |                                                                           ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad: In member function ‘virtual void prefetchntaNode::emit(CodeBuffer&, PhaseRegAlloc*) const’:
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2204:10: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2204 |       __ prefetch_w(Address(base, disp), PSTL1STRM);
      |          ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2204:42: error: ‘PSTL1STRM’ was not declared in this scope
 2204 |       __ prefetch_w(Address(base, disp), PSTL1STRM);
      |                                          ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2208:12: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2208 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PSTL1STRM);
      |            ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2208:57: error: ‘lsl’ is not a member of ‘Address’
 2208 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PSTL1STRM);
      |                                                         ^~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2208:70: error: ‘PSTL1STRM’ was not declared in this scope
 2208 |         __ prefetch_w(Address(base, index_reg, Address::lsl(scale)), PSTL1STRM);
      |                                                                      ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2211:15: error: ‘rscratch1’ was not declared in this scope
 2211 |         __ la(rscratch1, Address(base, disp));
      |               ^~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2212:18: error: ‘class MacroAssembler’ has no member named ‘prefetch_w’
 2212 |               __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PSTL1STRM);
      |                  ^~~~~~~~~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2212:68: error: ‘lsl’ is not a member of ‘Address’
 2212 |               __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PSTL1STRM);
      |                                                                    ^~~
/home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad:2212:81: error: ‘PSTL1STRM’ was not declared in this scope
 2212 |               __ prefetch_w(Address(rscratch1, index_reg, Address::lsl(scale)), PSTL1STRM);
      |                                                                                 ^~~~~~~~~

make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-x86_64-slowdebug.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log standalone.log

sendaoYan commented 1 month ago
( set -x ; cd /home/yansendao/git/riscv-port-jdk8u-ysd/build/linux-riscv64-normal-server-release/hotspot/linux_riscv_compiler2/product ; awk '{ if (CUR_FN != FILENAME) { CUR_FN=FILENAME; NR_BASE=NR-1; need_lineno=1 } if (need_lineno && $0 !~ /\/\//) { print "\n\n#line " (NR-NR_BASE) " \"" FILENAME "\""; need_lineno=0 }; print }' /home/yansendao/git/riscv-port-jdk8u-ysd/hotspot/src/cpu/riscv/vm/riscv.ad  > ../generated/adfiles/linux_riscv.ad ; ../generated/adfiles/adlc -DLINUX -D_GNU_SOURCE -DRISCV64 -q -T -g -D_LP64 ../generated/adfiles/linux_riscv.ad -c../generated/adfiles/ad_riscv.cpp -h../generated/adfiles/ad_riscv.hpp -a../generated/adfiles/dfa_riscv.cpp -v../generated/adfiles/adGlobals_riscv.hpp )
sendaoYan commented 1 month ago

To github.com:sendaoYan/riscv-port-jdk8u-ysd.git d62892ff545..a8dea7af9fe minus-jbs8276799 -> minus-jbs8276799

sendaoYan commented 1 month ago

152.patch

sendaoYan commented 1 month ago

make-gcc10-aarch64-fastdebug.log make-gcc10-aarch64-release.log make-gcc10-aarch64-slowdebug.log make-gcc10-riscv64-fastdebug.log make-gcc10-riscv64-release.log make-gcc10-riscv64-slowdebug.log make-gcc10-x86_64-fastdebug.log make-gcc10-x86_64-release.log make-gcc10-x86_64-slowdebug.log make-gcc13-aarch64-fastdebug.log make-gcc13-aarch64-release.log make-gcc13-aarch64-slowdebug.log make-gcc13-riscv64-fastdebug.log make-gcc13-riscv64-release.log make-gcc13-riscv64-slowdebug.log make-gcc13-x86_64-fastdebug.log make-gcc13-x86_64-release.log make-gcc13-x86_64-slowdebug.log