go/src/cmd/internal/obj
limeidan 01ab9a016a cmd/internal/obj/loong64: optimize the code logic of jump instructions
If p.To.Sym is nil, that means we can get the target offset from
p.To.Target().pc - c.pc,only when p.To.Sym is not nil, we need relocation
to get the true address of target symbol.

Change-Id: Ied52f675c6aa6e8fb8d972b7699f5cadd1ecb268
Reviewed-on: https://go-review.googlesource.com/c/go/+/565627
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: sophie zhao <zhaoxiaolin@loongson.cn>
Reviewed-by: Qiqi Huang <huangqiqi@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Meidan Li <limeidan@loongson.cn>
2024-08-01 00:51:41 +00:00
..
arm cmd/asm: for arm, rewrite argument shifted right by 0 to left by 0. 2023-12-15 20:51:01 +00:00
arm64 cmd/internal/obj/arm64: support MSR DIT 2024-07-24 18:45:14 +00:00
loong64 cmd/internal/obj/loong64: optimize the code logic of jump instructions 2024-08-01 00:51:41 +00:00
mips cmd,crypto/elliptic: fix typos in comments 2024-04-16 17:46:09 +00:00
ppc64 all: convert PPC64 CMPx ...,R0,... to CMPx Rx,$0 2024-05-22 18:17:17 +00:00
riscv cmd/internal/obj/riscv: check immediate for rotation instructions 2024-04-07 03:32:27 +00:00
s390x cmd,crypto/elliptic: fix typos in comments 2024-04-16 17:46:09 +00:00
wasm all: fix spelling errors 2023-06-14 00:03:57 +00:00
x86 cmd/compile, cmd/internal: fine-grained fiddling with loop alignment 2024-05-15 15:44:14 +00:00
abi_string.go all: re-run stringer 2023-04-11 20:24:07 +00:00
addrtype_string.go cmd/asm: refactor some operands that are not special registers on arm64 2022-04-01 03:16:26 +00:00
data.go
dwarf.go cmd/internal/dwarf: replace Sym.Length with Context.Size 2023-09-01 20:40:28 +00:00
go.go
inl.go cmd/compile: incorporate inlined function names into closure naming 2023-05-22 22:47:15 +00:00
ld.go
line.go cmd/internal/obj: simplify filename handling 2023-09-01 15:52:41 +00:00
line_test.go cmd/internal/obj: simplify filename handling 2023-09-01 15:52:41 +00:00
link.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
objfile.go cmd/link: disallow pull-only linknames 2024-05-15 19:57:43 +00:00
objfile_test.go cmd/internal/obj: use testenv.Command instead of exec.Command in tests 2022-11-15 20:21:30 +00:00
pass.go cmd/asm: refine some APIs related to Prog.RestArgs[] 2023-05-24 01:26:58 +00:00
pcln.go cmd/internal/obj: cleanup linkgetlineFromPos 2022-10-31 20:45:15 +00:00
plist.go cmd/internal/obj: simplify filename handling 2023-09-01 15:52:41 +00:00
sizeof_test.go
stringer.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
sym.go cmd/internal/obj/x86: make SEH symbols content-addressable 2024-05-15 14:41:10 +00:00
textflag.go cmd/internal/obj: flag init functions in object file 2023-02-06 20:25:30 +00:00
util.go cmd/compile, cmd/internal: fine-grained fiddling with loop alignment 2024-05-15 15:44:14 +00:00