Displaying 8 results from an estimated 8 matches for "idx_n".
Did you mean:
idx_r
2019 Jul 21
6
[RFC] A new multidimensional array indexing intrinsic
...sulting pointer values are not equal.
##### Address computation:
Consider an invocation of `llvm.multidim.array.index.*`:
```
<result> = call @llvm.multidim.array.index.* <ty> <ty>* <ptrval>
<str_0>, <idx_0>, <str_1> <idx_1>, ..., <str_n> <idx_n>
```
If the pairs are denoted by `(str_i, idx_i)`, where `str_i` denotes the stride
and `idx_i` denotes the index of the ith pair, then the final address (in bytes)
is computed as:
```
ptrval + len(ty) * [(str_0 * idx_0) + (str_1 * idx_1) + ... (str_n * idx_n)]
```
## Transitioning to `llvm.m...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...> ##### Address computation:
>> Consider an invocation of `llvm.multidim.array.index.*`:
>>
>> ```
>> <result> = call @llvm.multidim.array.index.* <ty> <ty>* <ptrval> <str_0>, <idx_0>, <str_1> <idx_1>, ..., <str_n> <idx_n>
>> ```
>>
>> If the pairs are denoted by `(str_i, idx_i)`, where `str_i` denotes the stride
>> and `idx_i` denotes the index of the ith pair, then the final address (in bytes)
>> is computed as:
>>
>> ```
>> ptrval + len(ty) * [(str_0 * idx_0) + (...
2019 Jul 22
2
[RFC] A new multidimensional array indexing intrinsic
...> ##### Address computation:
> Consider an invocation of `llvm.multidim.array.index.*`:
>
> ```
> <result> = call @llvm.multidim.array.index.* <ty> <ty>* <ptrval> <str_0>, <idx_0>, <str_1> <idx_1>, ..., <str_n> <idx_n>
> ```
>
> If the pairs are denoted by `(str_i, idx_i)`, where `str_i` denotes the stride
> and `idx_i` denotes the index of the ith pair, then the final address (in bytes)
> is computed as:
>
> ```
> ptrval + len(ty) * [(str_0 * idx_0) + (str_1 *...
2019 Jul 25
0
[RFC] A new multidimensional array indexing intrinsic
...ss computation:
>>> Consider an invocation of `llvm.multidim.array.index.*`:
>>>
>>> ```
>>> <result> = call @llvm.multidim.array.index.* <ty> <ty>* <ptrval> <str_0>, <idx_0>, <str_1> <idx_1>, ..., <str_n> <idx_n>
>>> ```
>>>
>>> If the pairs are denoted by `(str_i, idx_i)`, where `str_i` denotes the stride
>>> and `idx_i` denotes the index of the ith pair, then the final address (in bytes)
>>> is computed as:
>>>
>>> ```
>>> ptrval...
2019 Jul 22
1
[RFC] A new multidimensional array indexing intrinsic
...> > Consider an invocation of `llvm.multidim.array.index.*`:
> > >
> > > ```
> > > <result> = call @llvm.multidim.array.index.* <ty> <ty>* <ptrval> <str_0>, <idx_0>, <str_1> <idx_1>, ..., <str_n> <idx_n>
> > > ```
> > >
> > > If the pairs are denoted by `(str_i, idx_i)`, where `str_i` denotes the stride
> > > and `idx_i` denotes the index of the ith pair, then the final address (in bytes)
> > > is computed as:
> > >
> >...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...static const struct seq_operations consoles_op = {
diff --git a/include/linux/console.h b/include/linux/console.h
index 9774fe6..7453cfd 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -139,9 +139,9 @@ extern int update_console_cmdline(char *name, int idx, char *name_new, int idx_n
extern void register_console(struct console *);
extern int unregister_console(struct console *);
extern struct console *console_drivers;
-extern void acquire_console_sem(void);
-extern int try_acquire_console_sem(void);
-extern void release_console_sem(void);
+extern void console_lock(void);
+ex...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...static const struct seq_operations consoles_op = {
diff --git a/include/linux/console.h b/include/linux/console.h
index 9774fe6..7453cfd 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -139,9 +139,9 @@ extern int update_console_cmdline(char *name, int idx, char *name_new, int idx_n
extern void register_console(struct console *);
extern int unregister_console(struct console *);
extern struct console *console_drivers;
-extern void acquire_console_sem(void);
-extern int try_acquire_console_sem(void);
-extern void release_console_sem(void);
+extern void console_lock(void);
+ex...
2011 Jan 20
1
[PATCH] change acquire/release_console_sem() to console_lock/unlock()
...static const struct seq_operations consoles_op = {
diff --git a/include/linux/console.h b/include/linux/console.h
index 9774fe6..7453cfd 100644
--- a/include/linux/console.h
+++ b/include/linux/console.h
@@ -139,9 +139,9 @@ extern int update_console_cmdline(char *name, int idx, char *name_new, int idx_n
extern void register_console(struct console *);
extern int unregister_console(struct console *);
extern struct console *console_drivers;
-extern void acquire_console_sem(void);
-extern int try_acquire_console_sem(void);
-extern void release_console_sem(void);
+extern void console_lock(void);
+ex...