search for: chishiro

Displaying 4 results from an estimated 4 matches for "chishiro".

2018 May 03
3
Alignment Member Functions should be Virtual
...ress 0x10. If address 0x10 is NUL ('\0'), the char string misunderstands that it is an empty string. I do not try the array of short but the same case may happen. By this reason, aligned member functions, especially getCharAlign() and getShortAlign(), should be virtual. Sincerely, Hiroyuki Chishiro 2018-05-03 6:07 GMT+09:00 Friedman, Eli <efriedma at codeaurora.org>: > On 5/1/2018 4:35 AM, Hiroyuki Chishiro via llvm-dev wrote: >> >> Dear community, >> >> I have developed a backend of new 32-bit RISC ISA, which does not have >> unaligned memory access i...
2018 May 01
2
Alignment Member Functions should be Virtual
...functions, especially getCharAlign() and getShortAlign() of TargetInfo class in clang/include/clang/Basic/TargetInfo.h, should be virtual, in order to achieve an ISA-specific alignment in an ISA-specific subclass of TargetInfo class. In my subclass, these return values are 32. Sincerely, Hiroyuki Chishiro -- Hiroyuki Chishiro <chishiro at pf.is.s.u-tokyo.ac.jp> The University of Tokyo
2018 May 03
0
Alignment Member Functions should be Virtual
On 3 May 2018 at 03:23, Hiroyuki Chishiro via llvm-dev <llvm-dev at lists.llvm.org> wrote: > However, aligned memory access instructions (such as 32-bit LW) are > used in this case, and hence my compiler cannot correctly access char > string written in C. This hardware situation was reasonably common in the past, but code s...
2018 May 02
0
Alignment Member Functions should be Virtual
On 5/1/2018 4:35 AM, Hiroyuki Chishiro via llvm-dev wrote: > Dear community, > > I have developed a backend of new 32-bit RISC ISA, which does not have > unaligned memory access instructions (e.g., LWL, LWR, SWL, and SWR in > MIPS). > Since char and short variables are not 32-bit alignment, these > variables cannot...