Displaying 20 results from an estimated 26 matches for "strb".
Did you mean:
str
2017 Jan 19
5
[Bug 99464] New: openmw - Segfault with the nouveau ddx + DRI3
...4ea5 100644
--- a/src/mesa/state_tracker/st_atom_framebuffer.c
+++ b/src/mesa/state_tracker/st_atom_framebuffer.c
@@ -177,8 +177,10 @@ update_framebuffer_state( struct st_context *st )
/* rendering to a GL texture, may have to update surface */
st_update_renderbuffer_surface(st, strb);
}
- pipe_surface_reference(&framebuffer->zsbuf, strb->surface);
- update_framebuffer_size(framebuffer, strb->surface);
+ if (strb->surface) {
+ pipe_surface_reference(&framebuffer->zsbuf, strb->surface);
+ update_framebuffer_size(frameb...
2020 Jul 20
2
[ARM] Should Use Load and Store with Register Offset
...= 0; i < len; ++i)
*((char*)(dst + i)) = *((char*)(src + i));
return save;
}
clang --target=armv6m-none-eabi -Os -fomit-frame-pointer
memcpy_alt1:
push {r4, lr}
cmp r2, #0
beq .LBB0_3
mov r3, r0
.LBB0_2:
ldrb r4, [r1]
strb r4, [r3]
adds r1, r1, #1
adds r3, r3, #1
subs r2, r2, #1
bne .LBB0_2
.LBB0_3:
pop {r4, pc}
arm-none-eabi-gcc -march=armv6-m -Os
memcpy_alt1:
movs r3, #0
push {r4, lr}
.L2:
cmp r3, r2
bne .L3...
2008 Nov 11
2
Memory corruption on Gallium window resize, diagnosed?
...curs, somewhere along the path
st_renderbuffer_alloc_storage(GLcontext * ctx, struct gl_renderbuffer *rb,
GLenum internalFormat,
GLuint width, GLuint height)
{
struct pipe_context *pipe = ctx->st->pipe;
struct st_renderbuffer *strb = st_renderbuffer(rb);
struct pipe_texture template;
unsigned surface_usage;
/* Free the old surface and texture
*/
pipe_surface_reference( &strb->surface, NULL );
pipe_texture_reference( &strb->texture, NULL );
is executed, which AFAICT frees the pipe_surface. My...
2020 Jul 21
2
[ARM] Should Use Load and Store with Register Offset
...lang's generated assembly is equivalent to GCC for the
code snippet I posted above.
clang --target=armv6m-none-eabi -Oz -fomit-frame-pointer
memcpy_alt1:
push {r4, lr}
movs r3, #0
.LBB0_1:
cmp r2, r3
beq .LBB0_3
ldrb r4, [r1, r3]
strb r4, [r0, r3]
adds r3, r3, #1
b .LBB0_1
.LBB0_3:
pop {r4, pc}
On the other hand, -O2 in GCC still uses the register-offset load and store
instructions while Clang -O2 generates the same assembly as -Os:
immediate-offset (0 offset) load/store followed by incre...
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
2015 Aug 12
2
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
...ve to give you a sad answer that:
target specific intrinsic is not work.
I tried target specific intrinsic. However, LLVM isolates backend and
frontend, and there's no way to pass language level type information
to backend code.
Think about a program like this:
struct strA { int a; }
struct strB { int b; }
int func() {
struct strA a;
struct strB b;
a.a = 1;
b.b = 2;
bpf_output(gettype(a), &a);
bpf_output(gettype(b), &b);
return 0;
}
BPF backend can't (and needn't) tell the difference between local
variables a and b in theory. In LLVM implementation, i...
2011 Jul 13
1
[LLVMdev] problems with single byte stores in the arm backend
...Val,
Addr,
MachinePointerInfo(),
false, false, 0);
This gives me a a legalizer assert for MVT::i8.
If I change it to MVT::i32 the code works but instead of
a single byte store (STRB) I get a word store (STR).
How can I force the width of the store?
Thanks,
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110713/43b358a6/attachment.html>
2008 Apr 19
3
Trusted storage failed to initialize
...g key)
at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
at System.AppDomainSetup.SetupDefaultApplicationBase(Strin...
2015 Apr 09
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
...gt;: bne 0x8eec <__main_block_invoke+244>
0x00008f0c <+276>: ldr r0, [sp, #36] ; 0x24
0x00008f10 <+280>: add r0, r0, #1
0x00008f14 <+284>: dmb ish
0x00008f18 <+288>: ldr r1, [sp, #40] ; 0x28
0x00008f1c <+292>: strb r0, [r1]
0x00008f20 <+296>: bl 0x8aa0 <pthread_self>
>
> In what way is "count" corrupted, and how do you observe it? What
> assembly is actually produced for the block?
The assembly for whole block is huge even for minimal test case. I attached source co...
2008 Dec 07
2
Help with Keyword Corral
...The type initializer for 'System.Globalization.TextInfo' threw an exception.
> at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
> at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
> at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
> at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
> at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
> at System.AppDomainSetup.SetupDefaultApplic...
2008 May 31
3
.Net/regasm error on rc3
...g key)
at System.TypeInitializationException..ctor(String fullTypeName, Exception innerException)
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
at System.AppDomainSetup.SetupDefaultApplicationBase(Strin...
2010 Feb 11
2
Errors running BiblePro and BibleStudyPro on today's Git
...tionException: OSVersion's call
to GetVersionEx failed.
at System.Environment.get_OSVersion()
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
at System.String.Compare(String strA, Int32 indexA, String strB,
Int32 indexB, Int32 length, StringComparison comparisonType)
at
System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String
url, Boolean isFileUrl)
at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
at System.AppDomainSetup.SetupDefaultApplicationBase(Strin...
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
2015 Aug 12
3
llvm bpf debug info. Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
On 2015/8/12 12:57, Alexei Starovoitov wrote:
> On Wed, Aug 12, 2015 at 10:34:43AM +0800, Wangnan (F) via llvm-dev wrote:
>> Think about a program like this:
>>
>> struct strA { int a; }
>> struct strB { int b; }
>> int func() {
>> struct strA a;
>> struct strB b;
>>
>> a.a = 1;
>> b.b = 2;
>> bpf_output(gettype(a), &a);
>> bpf_output(gettype(b), &b);
>> return 0;
>> }
>>
>> BPF backend can't...
2015 Apr 08
2
[LLVMdev] __sync_add_and_fetch in objc block for global variable on ARM
Hello community,
I faced with bug in multithread environment in objective C code which using dispatch_async and block,
__sync_add_and_fetch increments global variable. But in case of many..many threads> 5, after every
__sync_add_and_fetch got damaged
...
int32_t count = 0;
...
int
main(int argc, char *argv[])
{
for (i = 1; i < 32; ++i) {
...
char* name;
2002 Jul 10
3
2 simple doubts
Hello,
I'm just start learning R/S-Plus, so I think this 2 doubts is going to
be too easy for you...
1) I couldn't discover what is the command for a concatenation of 2
variable strings.
2) For example, if I have three variable strings, and each one has the
name of a variable in a data matrix:
a<-V1
b<-V2
c<-V3
, is it possible to construct a command like this:
2013 Jun 19
2
[LLVMdev] ARM struct byval size > 64 triggers failure
...is equivalent to sp_at_entry + 52 since r11 = spat_entry - 16 - 8, which is 4-byte aligned after
>> storing the leftover (67-16=51) bytes of struct byval.
>>
>> For test code, 3 reg used for struct byval, left over will be (67- 12 = 55) copied to stack by caller, 55 sets of ldrb,strb in assembly.
>>
>> Pasting dump again for locating arg1 from sp_at_entry,
>> @entry of check114
>> sp 0xbefff808 0xbefff808 --> sp_at_entry
>> At arg1 accessing instruction [0xbefff808 + 52] -> [0xbefff83c] -> 0x4071706f
>> 0xbefff7e...
2011 Jan 08
1
Which dll should I replace according to this backtrace?
...ationException: The type initializer for 'System.Globalization.TextInfo' threw an exception.
at System.Globalization.TextInfo.GetNativeTextInfo(Int32 cultureID)
at System.Globalization.TextInfo.get_InvariantNativeTextInfo()
at System.String.Compare(String strA, Int32 indexA, String strB, Int32 indexB, Int32 length, StringComparison comparisonType)
at System.Security.Util.URLString.PreProcessForExtendedPathRemoval(String url, Boolean isFileUrl)
at System.AppDomainSetup.NormalizePath(String path, Boolean useAppBase)
at System.AppDomainSetup.SetupDefaultApplicationBase(Strin...
2012 May 10
0
[LLVMdev] MC Hammer Test results
...s
decoding this to an STR r0, [r0], r0, ror #2 which it is incorrectly diagnosing
as unpredictable.
[bug 3] echo 0x70 0x01 0xc0 0xe6 | ./llvm-mc -triple armv7 --show-inst
--show-encoding --disassemble
This bitpattern should decode to an unpredictable UXTAB16 r0, r0, r0. MC is
decoding this to an STRB r0, [r0], r0, ror #2 which it is incorrectly diagnosing
as unpredictable.
[bug 4] echo 0x90 0x00 0xc0 0xe7 | ./llvm-mc -triple armv7 --show-inst
--show-encoding --disassemble
echo 0x90 0x01 0xc0 0xe7 | ./llvm-mc -triple armv7 --show-inst
--show-encoding --disassemble
This bitpattern deco...
2008 Jun 07
34
autocad 2008 and wine rc 4
installation starts but after autocad 2008 doesn't install..
:( :( :( [/code]
2013 Jun 20
1
[LLVMdev] ARM struct byval size > 64 triggers failure
...= spat_entry -
> >>> 16 - 8, which is 4-byte aligned after
> >>> storing the leftover (67-16=51) bytes of struct byval.
> >>> For test code, 3 reg used for struct byval, left over will be (67- 12
> >>> = 55) copied to stack by caller, 55 sets of ldrb,strb in assembly.
> >>> Pasting dump again for locating arg1 from sp_at_entry,
> >>> @entry of check114
> >>> sp 0xbefff808 0xbefff808 --> sp_at_entry
> >>>
> >>> At arg1 accessing instruction [0xbefff808 + 52] ->
> >...
2013 Nov 25
22
[PATCH v3 00/13] xen: arm initial support for xgene arm64 platform
George has release acked all of these. Otherwise mostly minor updates
this time around.
Summary: A == acked, M == modified
A xen: arm64: Add 8250 earlyprintk support
A xen: arm64: Add Basic Platform support for APM X-Gene Storm.
A xen: arm64: Add APM implementor id to processor implementers.
M xen: arm: add a quirk to handle platforms with unusual GIC layout
A xen: arm: allow platform