adrp/lo12 combo

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-09-02 01:00:00 +00:00
parent ad53aa82f9
commit 58e82a5b91
2 changed files with 14 additions and 3 deletions

View File

@@ -69,10 +69,10 @@ First determine the useful goal, and then backtrack down to the most efficient t
** you will never become eternally famous. All tech disappears sooner or later, while laws of nature, at least as useful approximations, stay unchanged. ** you will never become eternally famous. All tech disappears sooner or later, while laws of nature, at least as useful approximations, stay unchanged.
** every problem that you face is caused by imperfections introduced by other humans. ** every problem that you face is caused by imperfections introduced by other humans.
+ +
It is much easier to accept limitations of physics, and even natural selection in biology, which is are produced by a sentient being (?). It is much easier to accept limitations of physics, and even natural selection in biology, which are not produced by a sentient being (?).
-- --
+ +
Physics-based engineering, just like low level hardware, is of course completely closed source however, since wrestling against the laws of physics is about the most expensive thing humans can do. Physics-based engineering, just like low level hardware, is of course completely closed source however, since wrestling against the laws of physics is about the most expensive thing humans can do, so there's also a downside to it.
Are you fine with those points, and ready to continue wasting your life with this crap? Are you fine with those points, and ready to continue wasting your life with this crap?
@@ -25565,7 +25565,7 @@ Examples:
+ +
Correct outcome: <<gem5-simulate-limit-reached>>. Correct outcome: <<gem5-simulate-limit-reached>>.
+ +
Incorrect behaviour due to: https://gem5.atlassian.net/browse/GEM5-537[]: Exits successfully. */ Incorrect behaviour due to: https://gem5.atlassian.net/browse/GEM5-537[]: Exits successfully.
SEV is not the only thing that can wake up a WFE, it is only an explicit software way to do it. SEV is not the only thing that can wake up a WFE, it is only an explicit software way to do it.

View File

@@ -3,6 +3,14 @@
#include <lkmc.h> #include <lkmc.h>
LKMC_PROLOGUE LKMC_PROLOGUE
/* Actual usage pattern. */
adrp x19, mylong
add x19, x19, :lo12:mylong
ldr x20, [x19]
LKMC_ASSERT_EQ(x19, =mylong)
LKMC_ASSERT_EQ(x20, =0x1122334455667788)
/* Minimal testcase. */
adrp x0, .Llabel adrp x0, .Llabel
adr x1, .Llabel adr x1, .Llabel
.Llabel: .Llabel:
@@ -11,3 +19,6 @@ LKMC_PROLOGUE
bic x1, x1, 0xF00 bic x1, x1, 0xF00
LKMC_ASSERT_EQ_REG(x0, x1) LKMC_ASSERT_EQ_REG(x0, x1)
LKMC_EPILOGUE LKMC_EPILOGUE
.data
mylong:
.quad 0x1122334455667788