search for: offest

Displaying 11 results from an estimated 11 matches for "offest".

2013 Nov 26
2
[LLVMdev] llvm-dwarfdump offsets
...th = 0x0000002b version = 0x0004 abbr_offset = 0x0000 addr_size = 0x08 (next unit at 0x0000021b) 0x0000000b: DW_TAG_type_unit [25] * DW_AT_language [DW_FORM_data2] (0x0004) 0x0000000e: DW_TAG_namespace [9] * It is a bit weird using the same syntax to print the section relative offest for the unit header, then unit-relative offsets for the DIEs, but other than that this seems to me like a useful improvement. (I was going to use this change to help me print out the unit-relative offsets for types in type units to test pubnames + type units - obviously in the end the type units w...
2009 Jul 04
2
[LLVMdev] Alloca Instruction
...0 %kkk = ptrtoint i8* %4 to i32 %5 = add i32 %kkk, 24 -----> Access to previous block %6 = inttoptr i32 %5 to i32* %7 = load i32* %6 ret i32 %7 } Is this kind of accessing across blocks valid? Are we guaranteed that in final executable, this offest processing across blocks would be taken care of properly. I have tried writing some LLVM IRs with these kind of accesses and am getting correct answer( For example, above code is working fine). But wanted to make sure that this is a valid operation in IR. Thanks --Kapil -------------- next part -...
2004 Sep 04
0
Non-Markovian Behaviour of a Cusum?
...behavior Cus2 <- CusumSim() plot(Cus1, ylim=range(Cus1, Cus2)) lines(Cus2) # Different random number generator, same behavior RNGkind("Wichmann-Hill") CusWH <- CusumSim() plot(Cus1, ylim=range(Cus1, Cus2, CusWH)) lines(Cus2) lines(CusWH, col=2, lty=2, lwd=2) # Different values for offest, same behavior Cus.01 <- CusumSim(-.01, FIR=25) plot(Cus.01) Cus.15 <- CusumSim(-.15, FIR=3) plot(Cus.15) # -- Spencer Graves, PhD, Senior Development Engineer O: (408)938-4420; mobile: (408)655-4567
2006 Apr 11
1
acts_as ... hourly_list?
Hi, My question is a bit of wonder and a bit of enlightment. I have two models, Channel and ChannelItem, the second is a list of Events, ordered by position (because I''m using acts_as_list). Later I use a method in Channel to recalculate the hour when that show come online, based on the duration of it and doing math based on the previous one duration and start time, starting from
2005 Jun 12
3
GSM -> ULAW sound conversion
Hello, I have figured out that my audio problem was just how I was converting the sound files. I am trying to convert the Asterisk gsm files to ULAW. I just did a: sox file.gsm file.ul, open it in Audacity. I used: Project, Import Raw, U-law, No endian, 1 channel, start offest 1 byte, sample rate 8000hz. The file sounds fine in Audacity. Now, if I do a record on Asterisk, using pcm, au, or ul, I get pops in the audio. What am I doing wrong? Also, what types of wav (not WAV) files does Asterisk generate? I have a couple wav files to convert too. I believe if I do a...
2019 Apr 15
2
Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Dear Momchil, Thanks a lot for your prompt reply and kindly suggestion. The code will truly lead to some automatic unrolling with GCC and increase the number of operations in the assembly code. However, I am focus on the the IR optimization and the calculation of the array element offest, which may need multiplication if the IR instruction GEP is lowered to arithmetic operations. The multiplication operations should be able to be removed by using the LLVM Pass LoopStrengthReduction. Interestingly, it does not work for the test code. I wamt to post the IR code but it might be to...
2019 Apr 15
2
Loop Strength Reduction Pass Does Not Work for Some Varialbles Related to Induction Variables
Dear all, Hi! Recently, I try to combine the passes SeparateConstOffsetFromGEP and LoopStrengthReduction to transform the multiplication in the lowered GEP IRs into addition. However, it seems LoopStrengthReduction is unable to remove all the multiplications for the element offset calculation. My test code is shown below and thanks a lot in advance for your time and suggestion!
2006 Apr 24
5
Custom pagination
I am trying to paginate objects from a has_many/:through relationship using Paginator. current_user.things returns the objects that I''d like to paginate. For testing, I tried to make it 1 item per page. I initialise the paginator as follows: @thing_pages = Paginator.new(self, current_user.things.count, 1, @params[''page'']) I don''t know how to obtain
2002 Jul 21
5
superlifter design notes (OpenVMS perspective)
> Qualities > > 1. Be reasonably portable: at least in principle, it should be > possible to port to Windows, OS X, and various Unixes without major > changes. In general, I would like to see OpenVMS in that list. > Principles > > 1. Clean design rather than micro-optimization. A clean design allows optimization to be done by the compiler, and tight optimization
2016 Oct 28
7
pci-assign fails with read error on config-space file
Hey, i am running an unusual setup where i assign pci devices behind the back of libvirt. I have two options to do that: 1. a wrapper script for qemu that takes care of suid-root and appends arguments for pci-assign 2. virsh qemu-monitor-command ... 'device_add pci-assign...' I know i should probably not be doing this, it is a workaround to introduce fine-grained pci-assignment in an
2012 Nov 06
50
chain.c32 (and partiter) updates v2
This is a bit updated set of chain.c32 changes that simplifies a few things (and in partiter part), fixes few minor issues and adds a few new features. Details are in the following commits, below is the summary and pull details at the end. Shao - any chance to peek over them ? Most of those are relatively simple changes and well tested, though of course something might have slipped my attention.