diff options
author | 2019-01-05 12:18:13 +0000 | |
---|---|---|
committer | 2019-01-05 12:18:13 +0000 | |
commit | 810d6e19cd5fc4317cf9602cfb60f5932bc6d927 (patch) | |
tree | 93d254a6497bc72340d9c15d244c42cf641a096a | |
parent | Replace two-operand instruction aliases that clang does not (diff) | |
download | wireguard-openbsd-810d6e19cd5fc4317cf9602cfb60f5932bc6d927.tar.xz wireguard-openbsd-810d6e19cd5fc4317cf9602cfb60f5932bc6d927.zip |
Expand a macro instruction for clang. Unlike gas, the integrated
assembler does not handle the large immediate value automatically.
-rw-r--r-- | sys/arch/mips64/mips64/tlbhandler.S | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/mips64/mips64/tlbhandler.S b/sys/arch/mips64/mips64/tlbhandler.S index c040f404d58..86633daa440 100644 --- a/sys/arch/mips64/mips64/tlbhandler.S +++ b/sys/arch/mips64/mips64/tlbhandler.S @@ -1,4 +1,4 @@ -/* $OpenBSD: tlbhandler.S,v 1.49 2019/01/05 12:16:59 visa Exp $ */ +/* $OpenBSD: tlbhandler.S,v 1.50 2019/01/05 12:18:13 visa Exp $ */ /* * Copyright (c) 1995-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -414,7 +414,8 @@ LEAF(tlb_flush, 0) mtc0 ta1, COP_0_TLB_INDEX # Set the index register. #ifdef CPU_OCTEON dmtc0 v0, COP_0_TLB_HI # Mark entry high as invalid - PTR_ADDU v0, v0, 2 * PAGE_SIZE + li ta2, 2 * PAGE_SIZE + PTR_ADDU v0, v0, ta2 #endif addu ta1, ta1, 1 # Increment index. TLB_HAZARD |